diff options
author | David Cabo <david@calibea.com> | 2011-08-16 12:22:58 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-08-16 12:22:58 +0200 |
commit | 86e2d5a90185e249cbe2a39074b7fc4a6f7843b3 (patch) | |
tree | d745781dc4d268e4c0d37e1a4ec49edab4e0386f /spec/integration/search_request_spec.rb | |
parent | 95e357b02b75de103d93180e3a33417f0c83dfb3 (diff) | |
parent | f6516d55f75752bf1eb7773f0a09cc6200bc9fad (diff) |
Merge branch 'master' of github.com:sebbacon/alaveteli
Diffstat (limited to 'spec/integration/search_request_spec.rb')
-rw-r--r-- | spec/integration/search_request_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/integration/search_request_spec.rb b/spec/integration/search_request_spec.rb new file mode 100644 index 000000000..9398519b7 --- /dev/null +++ b/spec/integration/search_request_spec.rb @@ -0,0 +1,9 @@ +require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') + +describe "When searching" do + it "should not strip quotes from quoted query" do + request_via_redirect("post", "/search", :query => '"mouse stilton"') + response.body.should include(""mouse stilton"") + end +end + |