ooops, fixed CookedPostProcessor specs

This commit is contained in:
Régis Hanol 2013-07-15 00:18:17 +02:00
parent 36e6345eee
commit 00d7d8b809
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,6 @@ describe CookedPostProcessor do
cpp.html.should =~ /#{LocalStore.base_url}/ cpp.html.should =~ /#{LocalStore.base_url}/
# ensure name is present # ensure name is present
cpp.html.should =~ /archive.zip/ cpp.html.should =~ /archive.zip/
# dirty
cpp.should be_dirty
# keeps the reverse index up to date # keeps the reverse index up to date
post.uploads.reload post.uploads.reload
post.uploads.count.should == 1 post.uploads.count.should == 1
@ -77,6 +75,8 @@ describe CookedPostProcessor do
cpp.post_process_images cpp.post_process_images
# ensures absolute urls on uploaded images # ensures absolute urls on uploaded images
cpp.html.should =~ /#{LocalStore.base_url}/ cpp.html.should =~ /#{LocalStore.base_url}/
# dirty
cpp.should be_dirty
# keeps the reverse index up to date # keeps the reverse index up to date
post.uploads.reload post.uploads.reload
post.uploads.count.should == 1 post.uploads.count.should == 1