aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-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 7464320ed..5fec84af4 100644
--- a/spec/views/public_body/show.rhtml_spec.rb
+++ b/spec/views/public_body/show.rhtml_spec.rb
@@ -47,7 +47,7 @@ describe "when viewing a body" do
it "should tell total number of requests" do
render "public_body/show"
- response.should have_tag("h2", "4 Freedom of Information requests made")
+ response.should include_text("4 Freedom of Information requests made")
end
it "should cope with no results" do