diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-12 08:39:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-12 08:39:22 +0000 |
commit | 8bde60dc56e47316aa6dbd22ab75a305c1dfc9ae (patch) | |
tree | 791c24302d556496f3f80be5a4ee910ffadbd2bf /test/unit/user_test.rb | |
parent | d8f039f48920887a50d1c555109dded05393b107 (diff) | |
download | redmine-8bde60dc56e47316aa6dbd22ab75a305c1dfc9ae.tar.gz redmine-8bde60dc56e47316aa6dbd22ab75a305c1dfc9ae.zip |
Remove Issue.generate_for_project! test helper and use Issue.generate! instead.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10611 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r-- | test/unit/user_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 20056406b..a1eaf31f6 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -948,7 +948,7 @@ class UserTest < ActiveSupport::TestCase @project = Project.find(1) @author = User.generate! @assignee = User.generate! - @issue = Issue.generate_for_project!(@project, :assigned_to => @assignee, :author => @author) + @issue = Issue.generate!(:project => @project, :assigned_to => @assignee, :author => @author) end should "be true for a user with :all" do |