Failing spec for empty search bug #2427

This commit is contained in:
Gonzalo Rodriguez 2011-12-03 21:19:01 -02:00
parent c62a9a2e63
commit 3c74f3d848

View file

@ -96,6 +96,11 @@ describe PeopleController do
get :index, :q => '#' get :index, :q => '#'
flash[:error].should be_present flash[:error].should be_present
end end
it 'does not fails if you search for the empty term' do
get :index, :q => ''
response.should be_success
end
end end
describe '#tag_index' do describe '#tag_index' do