Updated to rails 6. Passing tests

This commit is contained in:
rebuilt 2021-10-14 19:22:26 +02:00
parent 3430069801
commit 770ebc580e
20 changed files with 33 additions and 34 deletions

View file

@ -184,7 +184,7 @@ RSpec.describe AttemptsController, type: :controller do
context "with valid params" do
let!(:recent_first_attempt) {
first_attempt.update_attributes(sent_at: Time.new)
first_attempt.update(sent_at: Time.new)
return first_attempt
}