From 00d7d8b809822debf29450aaf4c9e8a741989242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 15 Jul 2013 00:18:17 +0200 Subject: [PATCH] ooops, fixed CookedPostProcessor specs --- spec/components/cooked_post_processor_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/components/cooked_post_processor_spec.rb b/spec/components/cooked_post_processor_spec.rb index e33994dbcf4..0cc50166c5c 100644 --- a/spec/components/cooked_post_processor_spec.rb +++ b/spec/components/cooked_post_processor_spec.rb @@ -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