Sha256: dcecd6f0e007a52a4585a3cfd6a658f7ea29e15ba1337f5ce535740a6ab89e4d
Contents?: true
Size: 701 Bytes
Versions: 4
Compression:
Stored size: 701 Bytes
Contents
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
Version data entries
4 entries across 4 versions & 2 rubygems