require 'spec_helper' describe AdvisoriesController do context 'for all' do it "should be able to perform search action" do get :search response.should_not redirect_to(forbidden_path) end end end