summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r--test/unit/user_test.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index bb325165d..7fe66824d 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -530,8 +530,6 @@ class UserTest < ActiveSupport::TestCase
assert_equal 1, anon2.errors.count
end
- should_have_one :rss_token
-
def test_rss_key
assert_nil @jsmith.rss_token
key = @jsmith.rss_key
@@ -541,9 +539,6 @@ class UserTest < ActiveSupport::TestCase
assert_equal key, @jsmith.rss_key
end
-
- should_have_one :api_token
-
context "User#api_key" do
should "generate a new one if the user doesn't have one" do
user = User.generate_with_protected!(:api_token => nil)