diff --git a/spec/components/search_spec.rb b/spec/components/search_spec.rb index 432886e7702..089915b8125 100644 --- a/spec/components/search_spec.rb +++ b/spec/components/search_spec.rb @@ -72,7 +72,7 @@ describe Search do end it 'escapes non alphanumeric characters' do - Search.query(':!$);}]>@\#\"\'').should be_blank # There are at least three levels of sanitation for Search.query! + Search.query('foo :!$);}]>@\#\"\'').should be_blank # There are at least three levels of sanitation for Search.query! end it 'works when given two terms with spaces' do