diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-04 13:43:17 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-03-04 13:43:17 +0000 |
commit | 80663e694dc2fa889a6536aee379a1f5907f20f5 (patch) | |
tree | 88ea76535683ce6bff0af2e824cd6810f58ac040 /test/unit/project_test.rb | |
parent | a6992aa6fc82843d7fae248f2edc138fd42f2862 (diff) | |
download | redmine-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/project_test.rb')
-rw-r--r-- | test/unit/project_test.rb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index 1e5c89900..6613ef0b2 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -44,35 +44,6 @@ class ProjectTest < ActiveSupport::TestCase User.current = nil end - should_validate_presence_of :name - should_validate_presence_of :identifier - - should_validate_uniqueness_of :identifier - - context "associations" do - should_have_many :members - should_have_many :users, :through => :members - should_have_many :member_principals - should_have_many :principals, :through => :member_principals - should_have_many :enabled_modules - should_have_many :issues - should_have_many :issue_changes, :through => :issues - should_have_many :versions - should_have_many :time_entries - should_have_many :queries - should_have_many :documents - should_have_many :news - should_have_many :issue_categories - should_have_many :boards - should_have_many :changesets, :through => :repository - - should_have_one :repository - should_have_one :wiki - - should_have_and_belong_to_many :trackers - should_have_and_belong_to_many :issue_custom_fields - end - def test_truth assert_kind_of Project, @ecookbook assert_equal "eCookbook", @ecookbook.name |