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.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index 6590ce2f7..9e2b9be1a 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -798,19 +798,19 @@ class UserTest < ActiveSupport::TestCase
assert_equal 1, anon2.errors.count
end
- def test_rss_key
- assert_nil @jsmith.rss_token
- key = @jsmith.rss_key
+ def test_atom_key
+ assert_nil @jsmith.atom_token
+ key = @jsmith.atom_key
assert_equal 40, key.length
@jsmith.reload
- assert_equal key, @jsmith.rss_key
+ assert_equal key, @jsmith.atom_key
end
- def test_rss_key_should_not_be_generated_twice
+ def test_atom_key_should_not_be_generated_twice
assert_difference 'Token.count', 1 do
- key1 = @jsmith.rss_key
- key2 = @jsmith.rss_key
+ key1 = @jsmith.atom_key
+ key2 = @jsmith.atom_key
assert_equal key1, key2
end
end