test/models/lockable_test.rb in devise-2.2.3 vs test/models/lockable_test.rb in devise-2.2.4
- old
+ new
@@ -57,10 +57,10 @@
assert user.active_for_authentication?
user.lock_access!
assert_not user.active_for_authentication?
end
- test "should unlock a user by cleaning locked_at, falied_attempts and unlock_token" do
+ test "should unlock a user by cleaning locked_at, failed_attempts and unlock_token" do
user = create_user
user.lock_access!
assert_not_nil user.reload.locked_at
assert_not_nil user.reload.unlock_token