Sha256: b04bc88b2b44b1d32b632d854ffed7c89a1109f54db318cc719cbeaf89cdce48
Contents?: true
Size: 780 Bytes
Versions: 4
Compression:
Stored size: 780 Bytes
Contents
unless ENV['IGNORE_RMAGICK'] require 'spec_helper' require 'dragonfly/processing/shared_processing_spec' describe Dragonfly::Processing::RMagickProcessor do before(:each) do sample_file = File.dirname(__FILE__) + '/../../../samples/beach.png' # 280x355 @image = Dragonfly::TempObject.new(File.new(sample_file)) @processor = Dragonfly::Processing::RMagickProcessor.new end describe "when using the filesystem" do before(:each) do @processor.use_filesystem = true end it_should_behave_like "processing methods" end describe "when not using the filesystem" do before(:each) do @processor.use_filesystem = false end it_should_behave_like "processing methods" end end end
Version data entries
4 entries across 4 versions & 1 rubygems