mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-27 02:41:15 +00:00
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
This commit is contained in:
parent
d722bb5313
commit
92f87076f1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user