Fix people_controller specs

This commit is contained in:
Gonzalo Rodriguez 2011-10-13 00:01:05 -02:00
parent 2de057d210
commit 00e93ba765

View file

@ -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