aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-12 11:20:40 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-12 11:20:40 +0000
commit21ee1ca03faa722119a3c7e587a843b960783096 (patch)
tree38d5dbb598214300ebeda754102f6fdcd3442d04 /spec/controllers/request_controller_spec.rb
parent9125f4c3023a49266fbe45fe5ac1e8b1bd9e47a7 (diff)
Further fix for issue #328.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb
index dd56d5f9e..96786a0a3 100644
--- a/spec/controllers/request_controller_spec.rb
+++ b/spec/controllers/request_controller_spec.rb
@@ -436,7 +436,8 @@ describe RequestController, "when searching for an authority" do
for phrase in ["Marketing/PR activities - Aldborough E-Act Free Schoo",
"Request for communications between DCMS/Ed Vaizey and ICO from Jan 1st 2011 - May ",
"Bellevue Road Ryde Isle of Wight PO33 2AR - what is the",
- "NHS Ayrshire & Arran"]
+ "NHS Ayrshire & Arran",
+ " cardiff"]
lambda {
get :select_authority, :query => phrase
}.should_not raise_error(StandardError)
@@ -1511,7 +1512,6 @@ describe RequestController, "when doing type ahead searches" do
"NHS Ayrshire & Arran"]
lambda {
get :search_typeahead, :q => phrase
- puts phrase
}.should_not raise_error(StandardError)
end
end