spec/helpers/image_creation.rb in bulldog-0.0.6 vs spec/helpers/image_creation.rb in bulldog-0.0.7
- old
+ new
@@ -1,8 +1,8 @@
module ImageCreation
def create_image(path, options={})
options[:size] ||= '10x10'
- convert = Bulldog::Processor::ImageMagick.convert_command
+ convert = Bulldog::Processor::ImageMagick.convert_path
system(convert, '-geometry', "#{options[:size]}!", 'pattern:checkerboard', path)
path
end
end