diff --git a/spec/controllers/people_controller_spec.rb b/spec/controllers/people_controller_spec.rb index 308f84e30569b9d75a1c68980c5c8921eeeeb2a9..ecf770ed34fad994301054cc916e993f6b09acd4 100644 --- a/spec/controllers/people_controller_spec.rb +++ b/spec/controllers/people_controller_spec.rb @@ -84,12 +84,12 @@ describe PeopleController do it 'goes to a tag page if you search for a hash' do get :index, :q => '#babies' - response.should redirect_to('/tags/babies') + response.should redirect_to(tag_path('babies', :q => '#babies')) end it 'goes to a tag page if you search for a hash with dots' do get :index, :q => '#babi.es' - response.should redirect_to('/tags/babies') + response.should redirect_to(tag_path('babies', :q => '#babi.es')) end end