mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:57:40 +08:00
FIX: broken specs after new link alerting code
This commit is contained in:
@ -17,8 +17,8 @@ describe PostAnalyzer do
|
||||
|
||||
before { Oneboxer.stubs(:onebox) }
|
||||
|
||||
it 'fetches the onebox for any urls in the post' do
|
||||
Oneboxer.expects(:onebox).with url
|
||||
it 'fetches the cached onebox for any urls in the post' do
|
||||
Oneboxer.expects(:cached_onebox).with url
|
||||
post_analyzer.cook(*args)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user