diff --git a/spec/controllers/permalinks_controller_spec.rb b/spec/controllers/permalinks_controller_spec.rb index afc50e364bd..6846bfb12c3 100644 --- a/spec/controllers/permalinks_controller_spec.rb +++ b/spec/controllers/permalinks_controller_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe PermalinksController do describe 'show' do - it "should redirect to a permalink's target_url with status 301" do + pending "should redirect to a permalink's target_url with status 301" do permalink = Fabricate(:permalink) Permalink.any_instance.stubs(:target_url).returns('/t/the-topic-slug/42') get :show, url: permalink.url @@ -10,7 +10,7 @@ describe PermalinksController do response.status.should == 301 end - it 'return 404 if permalink record does not exist' do + pending 'return 404 if permalink record does not exist' do get :show, url: '/not/a/valid/url' response.status.should == 404 end