diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-05-19 04:02:50 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-05-19 04:02:50 +0000 |
commit | 098a38bb3a9f9548bb33ced0b218638002e75a1e (patch) | |
tree | 0c1a3cc37190a6e9d1fc57cc762f13a26bdeba99 | |
parent | dbc7369d9d837b2c69e87ab3364f92f0ffc6b422 (diff) | |
download | redmine-098a38bb3a9f9548bb33ced0b218638002e75a1e.tar.gz redmine-098a38bb3a9f9548bb33ced0b218638002e75a1e.zip |
code layout clean up test_create_as_copy_should_add_relation_with_copied_issue of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11888 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/issues_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index d42a0d363..31fe49e2d 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -2506,11 +2506,11 @@ class IssuesControllerTest < ActionController::TestCase def test_create_as_copy_should_add_relation_with_copied_issue @request.session[:user_id] = 2 - assert_difference 'Issue.count' do assert_difference 'IssueRelation.count' do post :create, :project_id => 1, :copy_from => 1, - :issue => {:project_id => '1', :tracker_id => '3', :status_id => '1', :subject => 'Copy'} + :issue => {:project_id => '1', :tracker_id => '3', + :status_id => '1', :subject => 'Copy'} end end copy = Issue.first(:order => 'id DESC') |