remove broken spec

This commit is contained in:
Sam 2014-08-08 09:15:52 +10:00
parent 7d5c0ae28e
commit f4b2a83f29

View File

@ -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')