test/unit/rememberable_test.rb in janus-0.9.1 vs test/unit/rememberable_test.rb in janus-0.10.0

- old
+ new

@@ -5,22 +5,22 @@ @user = users(:julien) end test "remember_token" do @user.remember_me! - assert_not_nil @user.remember_token - assert_not_nil @user.remember_created_at + refute_nil @user.remember_token + refute_nil @user.remember_created_at @user.forget_me! assert_nil @user.remember_token assert_nil @user.remember_created_at end test "should not remember across browsers" do @user.remember_me! token = @user.remember_token @user.remember_me! - assert_not_equal token, @user.remember_token + refute_equal token, @user.remember_token end test "find_for_remember_authentication" do assert_nil User.find_for_remember_authentication(nil) assert_nil User.find_for_remember_authentication(" ")