Sha256: be6c5eddc7170f2a40cde3fe209b3afce010ed2c8d0daedcfc5e219691a719ce

Contents?: true

Size: 436 Bytes

Versions: 7

Compression:

Stored size: 436 Bytes

Contents

require 'spec_helper'

describe "configuration" do
  let (:app) { test_app }

  it "adds to fetch_file_whitelist" do
    app.configure do
      fetch_file_whitelist ['something']
    end
    app.fetch_file_whitelist.should include 'something'
  end

  it "adds to fetch_url_whitelist" do
    app.configure do
      fetch_url_whitelist ['http://something']
    end
    app.fetch_url_whitelist.should include 'http://something'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dragonfly-1.0.6 spec/functional/configuration_spec.rb
dragonfly-1.0.5 spec/functional/configuration_spec.rb
dragonfly-1.0.4 spec/functional/configuration_spec.rb
dragonfly-1.0.3 spec/functional/configuration_spec.rb
dragonfly-1.0.2 spec/functional/configuration_spec.rb
dragonfly-1.0.1 spec/functional/configuration_spec.rb
dragonfly-1.0 spec/functional/configuration_spec.rb