summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-29 12:48:23 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-29 12:48:23 +0000
commit92f87076f1b71f7b9c2d2dc34ff716698ff958a6 (patch)
tree666bea86c05911055d9fdfb2b88769d879270726 /test
parentd722bb5313fac860b9029b8c5f09c9dddf20b167 (diff)
downloadredmine-92f87076f1b71f7b9c2d2dc34ff716698ff958a6.tar.gz
redmine-92f87076f1b71f7b9c2d2dc34ff716698ff958a6.zip
fix source indent of test/integration/api_test/time_entries_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20515 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/integration/api_test/time_entries_test.rb17
1 files changed, 10 insertions, 7 deletions
diff --git a/test/integration/api_test/time_entries_test.rb b/test/integration/api_test/time_entries_test.rb
index 8b4380915..5a9bc33f6 100644
--- a/test/integration/api_test/time_entries_test.rb
+++ b/test/integration/api_test/time_entries_test.rb
@@ -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