@@ -124,7 +124,7 class SearchControllerTest < ActionController::TestCase | |||||
124 |
|
124 | |||
125 | def test_search_content |
|
125 | def test_search_content | |
126 | Issue.update_all("description = 'This is a searchkeywordinthecontent'", "id=1") |
|
126 | Issue.update_all("description = 'This is a searchkeywordinthecontent'", "id=1") | |
127 |
|
127 | |||
128 | get :index, :id => 1, :q => 'searchkeywordinthecontent', :titles_only => '' |
|
128 | get :index, :id => 1, :q => 'searchkeywordinthecontent', :titles_only => '' | |
129 | assert_equal false, assigns(:titles_only) |
|
129 | assert_equal false, assigns(:titles_only) | |
130 | results = assigns(:results) |
|
130 | results = assigns(:results) |
General Comments 0
You need to be logged in to leave comments.
Login now