|
|
|
|
|
|
|
|
|
|
|
|
|
|
assert_select '.total-for-hours', :text => 'Hours: 162.90' |
|
|
assert_select '.total-for-hours', :text => 'Hours: 162.90' |
|
|
assert_select 'form#query_form[action=?]', '/projects/ecookbook/time_entries' |
|
|
assert_select 'form#query_form[action=?]', '/projects/ecookbook/time_entries' |
|
|
|
|
|
|
|
|
|
|
|
# 'Log time' shoudl link to log time on the filtered issue |
|
|
|
|
|
assert_select 'a[href=?]', "/projects/ecookbook/time_entries/new" |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def test_index_with_display_subprojects_issues_to_false_should_not_include_subproject_entries |
|
|
def test_index_with_display_subprojects_issues_to_false_should_not_include_subproject_entries |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get :index, :params => {:project_id => 'ecookbook', :issue_id => issue.id.to_s, :set_filter => 1} |
|
|
get :index, :params => {:project_id => 'ecookbook', :issue_id => issue.id.to_s, :set_filter => 1} |
|
|
assert_select '.total-for-hours', :text => 'Hours: 7.00' |
|
|
assert_select '.total-for-hours', :text => 'Hours: 7.00' |
|
|
|
|
|
|
|
|
|
|
|
# 'Log time' shoudl link to log time on the filtered issue |
|
|
|
|
|
assert_select 'a[href=?]', "/issues/#{issue.id}/time_entries/new" |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def test_index_at_project_level_with_issue_fixed_version_id_short_filter |
|
|
def test_index_at_project_level_with_issue_fixed_version_id_short_filter |