aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/search_request_spec.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-09-01 10:31:30 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-09-01 10:31:30 +0100
commitdc121c5dbbc38839dc00ea59911f365a82406b21 (patch)
tree3dc661a62e024dbe950d42416040bd6883e44ba6 /spec/integration/search_request_spec.rb
parent4b88824f1be0ca04bb02361737030eaf33ab1e3d (diff)
Fixes to get tests pass following new design changes
Diffstat (limited to 'spec/integration/search_request_spec.rb')
-rw-r--r--spec/integration/search_request_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/search_request_spec.rb b/spec/integration/search_request_spec.rb
index 84239f7a3..8e714eb27 100644
--- a/spec/integration/search_request_spec.rb
+++ b/spec/integration/search_request_spec.rb
@@ -25,7 +25,7 @@ describe "When searching" do
request_via_redirect("post", "/search",
:query => 'bob'
)
- response.body.should include("One person matching")
+ response.body.should include("One person found")
end
it "should correctly filter searches for requests" do
@@ -45,7 +45,7 @@ describe "When searching" do
request_via_redirect("post", "/search",
:query => "daftest",
:request_variety => ['comments'])
- response.body.should include("One FOI request matching your search")
+ response.body.should include("One FOI request found")
request_via_redirect("post", "/search",
:query => "daftest",