summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-04 13:43:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-03-04 13:43:17 +0000
commit80663e694dc2fa889a6536aee379a1f5907f20f5 (patch)
tree88ea76535683ce6bff0af2e824cd6810f58ac040 /test/unit/user_test.rb
parenta6992aa6fc82843d7fae248f2edc138fd42f2862 (diff)
downloadredmine-80663e694dc2fa889a6536aee379a1f5907f20f5.tar.gz
redmine-80663e694dc2fa889a6536aee379a1f5907f20f5.zip
Removed shoulda assertions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9088 e93f8b46-1217-0410-a6f0-8f06a7374b81
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)