Removed shoulda assertions.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9088 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-03-04 13:43:17 +00:00
parent a6992aa6fc
commit 80663e694d
2 changed files with 0 additions and 34 deletions
-5
View File
@@ -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)