@@ -311,6 +311,12 class IssuesControllerTest < ActionController::TestCase | |||
|
311 | 311 | :ancestor => {:tag => 'table', :attributes => {:class => /issues/}} |
|
312 | 312 | end |
|
313 | 313 | |
|
314 | def test_index_send_html_if_query_is_invalid | |
|
315 | get :index, :f => ['start_date'], :op => {:start_date => '='} | |
|
316 | assert_equal 'text/html', @response.content_type | |
|
317 | assert_template 'index' | |
|
318 | end | |
|
319 | ||
|
314 | 320 | def test_show_by_anonymous |
|
315 | 321 | get :show, :id => 1 |
|
316 | 322 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now