Fix people_controller specs
This commit is contained in:
parent
2de057d210
commit
00e93ba765
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue