test/integration/users/rememberable_test.rb in janus-0.9.1 vs test/integration/users/rememberable_test.rb in janus-0.10.0
- old
+ new
@@ -12,11 +12,11 @@
visit root_url
assert_authenticated
sign_out :user
visit root_url
- assert_not_authenticated
+ refute_authenticated
end
test "registration should remember user" do
sign_up({ :email => 'toto@example.com', :password => 'my password' }, :scope => :user)
assert_authenticated
@@ -25,8 +25,8 @@
visit root_url
assert_authenticated
sign_out :user
visit root_url
- assert_not_authenticated
+ refute_authenticated
end
end