diff options
author | David Cabo <david@calibea.com> | 2011-08-17 11:05:21 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-08-17 11:05:21 +0200 |
commit | 817ce18d16d037aadc5ea44d93854c6e17f06747 (patch) | |
tree | 1820f4a62c1060063e0b9751473eca9610142598 /spec/integration | |
parent | 0ca78b7c2abfe28ef7acd7137fda5d82a973c2e1 (diff) | |
parent | e1a2e1ad36c6b0c7bfac501eb2a0d0ae5efd05a1 (diff) |
Merge branch 'fixes' into asktheeu
Diffstat (limited to 'spec/integration')
-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 + |