diff --git a/spec/controllers/categories_controller_spec.rb b/spec/controllers/categories_controller_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/controllers/categories_controller_spec.rb
+++ b/spec/controllers/categories_controller_spec.rb
@@ -99,7 +99,7 @@ describe CategoriesController, 'empty category life-on-mars' do
   it 'should redirect to home when the category is empty' do
     Factory(:category, :permalink => 'life-on-mars')
     get 'show', :id => 'life-on-mars'
-    response.status.should == "301 Moved Permanently"
+    response.status.should == 301
     response.should redirect_to(Blog.default.base_url)
   end
 end
diff --git a/spec/controllers/tags_controller_spec.rb b/spec/controllers/tags_controller_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/controllers/tags_controller_spec.rb
+++ b/spec/controllers/tags_controller_spec.rb
@@ -95,7 +95,7 @@ describe TagsController, '/articles/tag/foo' do
 
     do_get
 
-    response.status.should == "301 Moved Permanently"
+    response.status.should == 301
     response.should redirect_to(Blog.default.base_url)
   end
Compare response.status to number instead of string.

The old response.status returned the full status code (number + message).
The new version just returns the numeric code.