Defect #27153 » tests_for_custom_query_breaks_calendar_view.patch
| test/functional/calendars_controller_test.rb | ||
|---|---|---|
|
:issue_statuses,
|
||
|
:issue_relations,
|
||
|
:issue_categories,
|
||
|
:enumerations
|
||
|
:enumerations,
|
||
|
:queries
|
||
|
def test_show
|
||
|
get :show, :params => {
|
||
| ... | ... | |
|
assert_select 'td.even', :text => '10'
|
||
|
end
|
||
|
end
|
||
|
def test_show_custom_query_with_multiple_sort_criteria
|
||
|
get :show, :params => {
|
||
|
:query_id => 5
|
||
|
}
|
||
|
assert_response :success
|
||
|
assert_select 'h2', :text => 'Open issues by priority and tracker'
|
||
|
end
|
||
|
def test_show_custom_query_with_group_by_option
|
||
|
get :show, :params => {
|
||
|
:query_id => 6
|
||
|
}
|
||
|
|
||
|
assert_response :success
|
||
|
assert_select 'h2', :text => 'Open issues grouped by tracker'
|
||
|
end
|
||
|
end
|
||
- « Previous
- 1
- …
- 4
- 5
- 6
- Next »