diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-04 12:18:07 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-04 12:18:07 +1100 |
commit | c8de5ff799bb282a586185dbc6c86dad412e6204 (patch) | |
tree | 5a3139bf3f64a6da2261930bca259ecfb74e61eb /spec/controllers/general_controller_spec.rb | |
parent | a12f8c19b507ef305313ca8116cad10646ffe303 (diff) |
response.status now returns an integer
Diffstat (limited to 'spec/controllers/general_controller_spec.rb')
-rw-r--r-- | spec/controllers/general_controller_spec.rb | 2 |
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 |