mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
Add test assertions to the four controller test cases (#26125).
Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16704 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -36,6 +36,17 @@ class CalendarsControllerTest < Redmine::ControllerTest
|
||||
:project_id => 1
|
||||
}
|
||||
assert_response :success
|
||||
|
||||
# query form
|
||||
assert_select 'form#query_form' do
|
||||
assert_select 'div#query_form_with_buttons.hide-when-print' do
|
||||
assert_select 'div#query_form_content' do
|
||||
assert_select 'fieldset#filters.collapsible'
|
||||
end
|
||||
assert_select 'p.contextual'
|
||||
assert_select 'p.buttons'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def test_show_should_run_custom_queries
|
||||
|
||||
Reference in New Issue
Block a user