mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 01:39:19 +00:00
Fix typo.
This commit is contained in:
parent
8eecd42856
commit
41711e53b7
@ -13,7 +13,7 @@ describe Jobs::PullHotlinkedImages do
|
||||
it 'replaces image src' do
|
||||
post = Fabricate(:post, raw: "<img src='http://wiki.mozilla.org/images/2/2e/Longcat1.png'>")
|
||||
|
||||
Jobs::PullHotl.inkedImages.new.execute(post_id: post.id)
|
||||
Jobs::PullHotlinkedImages.new.execute(post_id: post.id)
|
||||
post.reload
|
||||
|
||||
expect(post.raw).to match(/^<img src='\/uploads/)
|
||||
|
Loading…
x
Reference in New Issue
Block a user