mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06:00
remove broken spec
This commit is contained in:
parent
7d5c0ae28e
commit
f4b2a83f29
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user