summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-05-19 04:02:50 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-05-19 04:02:50 +0000
commit098a38bb3a9f9548bb33ced0b218638002e75a1e (patch)
tree0c1a3cc37190a6e9d1fc57cc762f13a26bdeba99
parentdbc7369d9d837b2c69e87ab3364f92f0ffc6b422 (diff)
downloadredmine-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.rb4
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')