diff options
author | Francis Irving <francis@mysociety.org> | 2010-06-08 15:38:55 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-06-08 15:38:55 +0100 |
commit | a3af8cc02244238409f1fb8d83300fc3f9cb8ee7 (patch) | |
tree | 3293fe6b50990e3087572177b436e1bf27794253 | |
parent | eae08f3082b1e3d2ee310e29c645044a89a57850 (diff) |
Just check the text.
-rw-r--r-- | spec/views/public_body/show.rhtml_spec.rb | 2 |
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 |