mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-07 04:24:35 -04:00
ooops, fixed CookedPostProcessor specs
This commit is contained in:
parent
36e6345eee
commit
00d7d8b809
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,6 @@ describe CookedPostProcessor do
|
|||
cpp.html.should =~ /#{LocalStore.base_url}/
|
||||
# ensure name is present
|
||||
cpp.html.should =~ /archive.zip/
|
||||
# dirty
|
||||
cpp.should be_dirty
|
||||
# keeps the reverse index up to date
|
||||
post.uploads.reload
|
||||
post.uploads.count.should == 1
|
||||
|
@ -77,6 +75,8 @@ describe CookedPostProcessor do
|
|||
cpp.post_process_images
|
||||
# ensures absolute urls on uploaded images
|
||||
cpp.html.should =~ /#{LocalStore.base_url}/
|
||||
# dirty
|
||||
cpp.should be_dirty
|
||||
# keeps the reverse index up to date
|
||||
post.uploads.reload
|
||||
post.uploads.count.should == 1
|
||||
|
|
Loading…
Add table
Reference in a new issue