Sha256: fd0d8f023ecd8458e07038b5f3c4d543ed8c1f345f47b85c8ffbaf7b3ddbcf45

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

require 'spec_helper'

describe Dragonfly::Minimagick::Config do

  before(:each) do
    @app = test_app
  end

  it "should configure all to use the filesystem by default" do
    @app.configure_with(Dragonfly::Minimagick::Config)
  end
  
  it "should allow configuring with :minimagick" do
    @app.configure_with(:minimagick)
    @app.analyser.objects.first.should be_a(Dragonfly::Minimagick::Analyser)
  end

  it "should allow configuring with :mini_magick" do
    @app.configure_with(:mini_magick)
    @app.analyser.objects.first.should be_a(Dragonfly::Minimagick::Analyser)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dragonfly-minimagick-0.0.1 spec/dragonfly-minimagick/config_spec.rb