ooops, fixed CookedPostProcessor specs
This commit is contained in:
parent
36e6345eee
commit
00d7d8b809
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue