diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-12 08:56:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-12 08:56:09 +0000 |
commit | 51818cbbb6bc36f773eb9e225e070d0492b0ac36 (patch) | |
tree | bb9e995f91512e9b8401f2e28508674abc6ed073 /test/unit/project_test.rb | |
parent | 8bde60dc56e47316aa6dbd22ab75a305c1dfc9ae (diff) | |
download | redmine-51818cbbb6bc36f773eb9e225e070d0492b0ac36.tar.gz redmine-51818cbbb6bc36f773eb9e225e070d0492b0ac36.zip |
Makes Issue.generate_with_descendants! helper accept attributes only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10612 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/project_test.rb')
-rw-r--r-- | test/unit/project_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index 8338a1f53..8960f24af 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -1054,7 +1054,7 @@ class ProjectTest < ActiveSupport::TestCase def test_copy_should_copy_subtasks source = Project.generate!(:tracker_ids => [1]) - issue = Issue.generate_with_descendants!(source, :subject => 'Parent') + issue = Issue.generate_with_descendants!(:project => source) project = Project.new(:name => 'Copy', :identifier => 'copy', :tracker_ids => [1]) assert_difference 'Project.count' do |