aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/general_controller_spec.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-04 12:18:07 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-04 12:18:07 +1100
commitc8de5ff799bb282a586185dbc6c86dad412e6204 (patch)
tree5a3139bf3f64a6da2261930bca259ecfb74e61eb /spec/controllers/general_controller_spec.rb
parenta12f8c19b507ef305313ca8116cad10646ffe303 (diff)
response.status now returns an integer
Diffstat (limited to 'spec/controllers/general_controller_spec.rb')
-rw-r--r--spec/controllers/general_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/general_controller_spec.rb b/spec/controllers/general_controller_spec.rb
index 9684732a5..fcd121df6 100644
--- a/spec/controllers/general_controller_spec.rb
+++ b/spec/controllers/general_controller_spec.rb
@@ -12,7 +12,7 @@ describe GeneralController, "when trying to show the blog" do
it "should fail silently if the blog is returning an error" do
FakeWeb.register_uri(:get, %r|.*|, :body => "Error", :status => ["500", "Error"])
get :blog
- response.status.should == "200 OK"
+ response.status.should == 200
assigns[:blog_items].count.should == 0
end
end