Displaying 1 result from an estimated 1 matches for "test_should_show_search_dropdown".
2005 Dec 18
1
assert_template fails?
Hi All,
I have a seemingly simple problem - but can''t figure out 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...