Sha256: 26a0156d01501bf02cd95d083e01cbae1249ed031aab3381a380b0ded5255946

Contents?: true

Size: 623 Bytes

Versions: 53

Compression:

Stored size: 623 Bytes

Contents

require 'spec_helper'

describe "a configured imagemagick app" do
  
  before(:each) do
    @app = test_app.configure_with(:imagemagick)
  end
  
  describe "convert command path" do
    before(:each) do
      @processor = @app.processor.get_registered(Dragonfly::ImageMagick::Processor)
    end
    
    it "should default to 'convert'" do
      @processor.convert_command.should == 'convert'
    end
    
    it "should change when configured through the app" do
      @app.configure do |c|
        c.convert_command = '/usr/eggs'
      end
      @processor.convert_command.should == '/usr/eggs'
    end
    
  end
  
end

Version data entries

53 entries across 53 versions & 2 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.7.4 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.7.3 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.7.2 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.7.1 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.7.0 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
dragonfly-0.9.15 spec/functional/image_magick_app_spec.rb
dragonfly-0.9.14 spec/functional/image_magick_app_spec.rb
dragonfly-0.9.13 spec/functional/image_magick_app_spec.rb
classiccms-0.6.9 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.6.8 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.6.7 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.6.6 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.6.5 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.6.4 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.6.3 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.6.2 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.6.1 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.6.0 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb
classiccms-0.5.17 vendor/bundle/gems/dragonfly-0.9.12/spec/functional/image_magick_app_spec.rb