mirror of
https://github.com/redmine/redmine.git
synced 2025-11-11 15:56:03 +01:00
Change the default value for "Time span format" from "decimal" to "minutes" (#36391).
git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -341,7 +341,7 @@ class IssuesControllerTransactionTest < Redmine::ControllerTest
|
||||
:subject => ''
|
||||
},
|
||||
:time_entry => {
|
||||
:hours => '2.5',
|
||||
:hours => '2:30',
|
||||
:comments => 'should not be added',
|
||||
:activity_id => TimeEntryActivity.first.id
|
||||
}
|
||||
@@ -350,7 +350,7 @@ class IssuesControllerTransactionTest < Redmine::ControllerTest
|
||||
assert_response :success
|
||||
end
|
||||
|
||||
assert_select 'input[name=?][value=?]', 'time_entry[hours]', '2.50'
|
||||
assert_select 'input[name=?][value=?]', 'time_entry[hours]', '2:30'
|
||||
assert_select 'input[name=?][value=?]', 'time_entry[comments]', 'should not be added'
|
||||
assert_select 'select[name=?]', 'time_entry[activity_id]' do
|
||||
assert_select 'option[value=?][selected=selected]', TimeEntryActivity.first.id.to_s
|
||||
|
||||
Reference in New Issue
Block a user