test/integration/users/token_authenticatable_test.rb in janus-0.9.1 vs test/integration/users/token_authenticatable_test.rb in janus-0.10.0

- old
+ new

@@ -13,11 +13,11 @@ assert_authenticated end test "should not sign user with invalid token" do visit root_url(:auth_token => 'unknown token') - assert_not_authenticated + refute_authenticated end test "should reuse token" do Janus::Config.stub(:reusable_authentication_token, true) do token = @user.authentication_token @@ -34,9 +34,9 @@ token = @user.authentication_token visit root_url(:auth_token => token) sign_out :user visit root_url(:auth_token => token) - assert_not_authenticated + refute_authenticated end end end