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 a6cac33fa..1a972a661 100644
--- a/spec/views/public_body/show.rhtml_spec.rb
+++ b/spec/views/public_body/show.rhtml_spec.rb
@@ -33,7 +33,7 @@ describe "public_body/show" do
it "should be successful" do
render
- response.should be_success
+ controller.response.should be_success
end
it "should be valid HTML" do