search for: searchcontrollertest

Displaying 1 result from an estimated 1 matches for "searchcontrollertest".

Did you mean: search_controller_test
2005 Dec 18
1
assert_template fails?
...ut the problem. I have a simple functional test like so: def test_should_show_search_dropdown get :index assert_response :success assert_template :search end Inspite of having search.rhtml in /app/views/layout, it fails with an error: 1) Error: test_should_show_search_dropdown(SearchControllerTest): NoMethodError: undefined method `include?'' for :search:Symbol /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/assertions.rb:109:in `assert_template'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/assertions.rb:313:in `clean_ba...