Sha256: 569be4e5f20e6a9c08fb18d6e125ba743e985b170cc65b32bd719ab96b5f9c91

Contents?: true

Size: 623 Bytes

Versions: 4

Compression:

Stored size: 623 Bytes

Contents

unless ENV['IGNORE_RMAGICK']

  require 'spec_helper'
  require 'dragonfly/generation/shared_generator_spec'

  describe Dragonfly::Generation::RMagickGenerator do

    before(:each) do
      @generator = Dragonfly::Generation::RMagickGenerator.new
    end

    describe "when using the filesystem" do
      before(:each) do
        @generator.use_filesystem = true
      end
      it_should_behave_like 'image generator'
    end
  
    describe "when not using the filesystem" do
      before(:each) do
        @generator.use_filesystem = false
      end
      it_should_behave_like 'image generator'
    end
  
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dragonfly-0.8.6 spec/dragonfly/generation/r_magick_generator_spec.rb
dragonfly-0.8.5 spec/dragonfly/generation/r_magick_generator_spec.rb
dragonfly-0.8.4 spec/dragonfly/generation/r_magick_generator_spec.rb
dragonfly-0.8.2 spec/dragonfly/generation/r_magick_generator_spec.rb