From 8af626ac69b1afb39ebba8ab0279c0adba3e6faf Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Mon, 15 Aug 2011 11:50:48 +0100 Subject: New files I forgot to add in a7df6f479f452503e3a9 --- spec/integration/search_request_spec.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 spec/integration/search_request_spec.rb (limited to 'spec/integration/search_request_spec.rb') 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 + -- cgit v1.2.3