spec/spec_helper.rb in bulldog-0.0.6 vs spec/spec_helper.rb in bulldog-0.0.7
- old
+ new
@@ -40,18 +40,20 @@
":class/:id.:style"
end
mod.use_temporary_attribute_value Bulldog, :default_path_template do
"#{temporary_directory}/attachments/:class/:id.:style"
end
-
mod.use_temporary_attribute_value Bulldog, :logger do
buffer = StringIO.new
logger = Logger.new(buffer)
(class << logger; self; end).send(:define_method, :content) do
buffer.string
end
logger
end
+ mod.use_temporary_attribute_value Bulldog, :convert_path, 'convert'
+ mod.use_temporary_attribute_value Bulldog, :identify_path, 'identify'
+ mod.use_temporary_attribute_value Bulldog, :ffmpeg_path, 'ffmpeg'
end
#
# Stub out all system calls. Pretend they were successful.
#