]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/IndentFirstArgument in test/functional/repositories_cont...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 16:46:25 +0000 (16:46 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 16:46:25 +0000 (16:46 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19279 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/repositories_controller_test.rb

index b7d8fad3206980d4851b08295f7435c09eee57fd..846eb84e061b828ec8430527db5ff07907170f3c 100644 (file)
@@ -440,13 +440,14 @@ class RepositoriesControllerTest < Redmine::RepositoryControllerTest
   def test_get_committers
     @request.session[:user_id] = 2
     # add a commit with an unknown user
-    Changeset.create!(
+    Changeset.
+      create!(
         :repository => Project.find(1).repository,
         :committer  => 'foo',
         :committed_on => Time.now,
         :revision => 100,
         :comments => 'Committed by foo.'
-     )
+      )
     get(:committers, :params => {:id => 10})
     assert_response :success
     assert_select 'input[value=dlopper] + select option[value="3"][selected=selected]', :text => 'Dave Lopper'
@@ -463,7 +464,8 @@ class RepositoriesControllerTest < Redmine::RepositoryControllerTest
   def test_post_committers
     @request.session[:user_id] = 2
     # add a commit with an unknown user
-    c = Changeset.create!(
+    c = Changeset.
+          create!(
             :repository => Project.find(1).repository,
             :committer  => 'foo',
             :committed_on => Time.now,