diff options
author | Henare Degan <henare.degan@gmail.com> | 2012-12-11 16:18:56 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2012-12-11 16:18:56 +1100 |
commit | 0f481bf550b0f21a25c9a6b493b8ef12d4bd9989 (patch) | |
tree | dd1819d850dc16b02087cfaa76926fe3ff922c42 | |
parent | d2255620273acd20b2ecf5aad3cebdcbe2202787 (diff) |
The include_text selector is no longer available
-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 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 |