summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-07 13:06:47 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-07 13:06:47 +0000
commit28c29d19a80a87b060ba7fcf76f37d4c67e1c447 (patch)
tree36a625d198d8718eb50de6422f01cc5c731a98c4 /test
parent6b5991b34e5b52f85a654497738fe58339809834 (diff)
downloadredmine-28c29d19a80a87b060ba7fcf76f37d4c67e1c447.tar.gz
redmine-28c29d19a80a87b060ba7fcf76f37d4c67e1c447.zip
code cleanup: rubocop: fix Style/HashSyntax in test/functional/issues_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18618 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/issues_controller_test.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index 609028a44..31bb2a9ab 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -3088,10 +3088,8 @@ class IssuesControllerTest < Redmine::ControllerTest
@request.session[:user_id] = 2
t = Tracker.find(3)
assert !t.disabled_core_fields.include?('parent_issue_id')
-
get :new, :params => {
- :project_id => 1, issue: { parent_issue_id: 1
- }
+ :project_id => 1, :issue => { parent_issue_id: 1 }
}
assert_response :success
assert_select 'option', text: /#{t.name}/, count: 1
@@ -3100,8 +3098,7 @@ class IssuesControllerTest < Redmine::ControllerTest
t.save!
assert t.disabled_core_fields.include?('parent_issue_id')
get :new, :params => {
- :project_id => 1, issue: { parent_issue_id: 1
- }
+ :project_id => 1, :issue => { parent_issue_id: 1 }
}
assert_response :success
assert_select 'option', text: /#{t.name}/, count: 0