aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/views/public_body/show.rhtml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/public_body/show.rhtml_spec.rb b/spec/views/public_body/show.rhtml_spec.rb
index c4ac99d06..5e30001af 100644
--- a/spec/views/public_body/show.rhtml_spec.rb
+++ b/spec/views/public_body/show.rhtml_spec.rb
@@ -48,7 +48,7 @@ describe "public_body/show" do
it "should tell total number of requests" do
render
- response.should include_text("4 Freedom of Information requests")
+ response.should match "4 Freedom of Information requests"
end
it "should cope with no results" do