]> source.dussan.org Git - redmine.git/commitdiff
fix source indent of test/integration/api_test/time_entries_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 29 Nov 2020 12:48:23 +0000 (12:48 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 29 Nov 2020 12:48:23 +0000 (12:48 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20515 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/api_test/time_entries_test.rb

index 8b4380915add3eaa351147100aa2c710a808f922..5a9bc33f6a341a9b46941bbe9d99995630446fe0 100644 (file)
@@ -94,13 +94,16 @@ class Redmine::ApiTest::TimeEntriesTest < Redmine::ApiTest::Base
     assert_difference 'TimeEntry.count' do
       post(
         '/time_entries.xml',
-        :params =>
-          {:time_entry =>
-            {:issue_id => '1', :spent_on => '2010-12-02',
-             :hours => '3.5', :activity_id => '11',
-             :custom_fields => [{:id => field.id.to_s, :value => 'accepted'}]
-        }},
-        :headers => credentials('jsmith'))
+        :params => {
+          :time_entry => {
+            :issue_id => '1',
+            :spent_on => '2010-12-02',
+            :hours => '3.5', :activity_id => '11',
+            :custom_fields => [{:id => field.id.to_s, :value => 'accepted'}]
+          }
+        },
+        :headers => credentials('jsmith')
+      )
     end
     assert_response :created
     assert_equal 'application/xml', @response.media_type