From f4b2a83f29c0b8e85fe0a039a61f24b5835a794d Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 8 Aug 2014 09:15:52 +1000 Subject: [PATCH] remove broken spec --- spec/controllers/posts_controller_spec.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/spec/controllers/posts_controller_spec.rb b/spec/controllers/posts_controller_spec.rb index 27e2869fad8..288cd5c7f38 100644 --- a/spec/controllers/posts_controller_spec.rb +++ b/spec/controllers/posts_controller_spec.rb @@ -53,17 +53,6 @@ end describe PostsController do - describe 'short_link' do - let(:post) { Fabricate(:post) } - let(:user) { Fabricate(:user) } - - it 'logs the incoming link once' do - IncomingLink.expects(:add).once.returns(true) - get :short_link, post_id: post.id, user_id: user.id - response.should be_redirect - end - end - describe 'cooked' do before do post = Post.new(cooked: 'wat')