Browse Source

Update deactivation tests

pull/1057/head
Kat 4 years ago
parent
commit
67ca76c35c
  1. 1
      spec/requests/lettings_logs_controller_spec.rb

1
spec/requests/lettings_logs_controller_spec.rb

@ -909,6 +909,7 @@ RSpec.describe LettingsLogsController, type: :request do
let(:headers) { { "Accept" => "text/html" } } let(:headers) { { "Accept" => "text/html" } }
before do before do
allow(affected_lettings_log.form).to receive(:end_date).and_return(Time.zone.today + 1.day)
allow(user).to receive(:need_two_factor_authentication?).and_return(false) allow(user).to receive(:need_two_factor_authentication?).and_return(false)
sign_in user sign_in user
end end

Loading…
Cancel
Save