spec/unit/processor/image_magick_spec.rb in bulldog-0.1.1 vs spec/unit/processor/image_magick_spec.rb in bulldog-0.2.0

- old
+ new

@@ -6,10 +6,10 @@ before do spec = self Thing.has_attachment :attachment do path "#{spec.temporary_directory}/attachment.:style.:extension" end - thing = Thing.create(:attachment => test_image_file('test.jpg')) + thing = Thing.create(:attachment => uploaded_file('test.jpg')) @thing = Thing.find(thing.id) end def convert Processor::ImageMagick.convert_path