aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/search_request_spec.rb
blob: 9398519b70ae2070d678d674cd55c95a1e66f0e3 (plain)
1
2
3
4
5
6
7
8
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