mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user