test/models/lockable_test.rb in devise-3.5.2 vs test/models/lockable_test.rb in devise-3.5.3

- old
+ new

@@ -12,10 +12,10 @@ 2.times { user.valid_for_authentication?{ false } } assert user.reload.access_locked? end end - test "should increment failed_attempts on successfull validation if the user is already locked" do + test "should increment failed_attempts on successful validation if the user is already locked" do user = create_user user.confirm swap Devise, maximum_attempts: 2 do 2.times { user.valid_for_authentication?{ false } }