mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
remove broken spec
This commit is contained in:
parent
7d5c0ae28e
commit
f4b2a83f29
1 changed files with 0 additions and 11 deletions
|
@ -53,17 +53,6 @@ end
|
||||||
|
|
||||||
describe PostsController do
|
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
|
describe 'cooked' do
|
||||||
before do
|
before do
|
||||||
post = Post.new(cooked: 'wat')
|
post = Post.new(cooked: 'wat')
|
||||||
|
|
Loading…
Reference in a new issue