Sha256: 9ffaef2ff7ef3c181976dcbab65154f7c3e004762d36275fd07df7e8fbc9871b

Contents?: true

Size: 359 Bytes

Versions: 3

Compression:

Stored size: 359 Bytes

Contents

require 'spec_helper'

module ContentCaching
  describe Configuration do
    let(:configuration) { Configuration.new }

    describe '#adapter' do
      let(:adapter) {{ adapter: :fs, options: { host: 'http://0.0.0.0:3000', directory: 'tmp' }}}
      it 'the default is fs' do
        expect(configuration.adapter).to eq(adapter)
      end
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
content_caching-0.2.0 spec/content_caching/configuration_spec.rb
content_caching-0.1.1 spec/content_caching/configuration_spec.rb
content_caching-0.1.0 spec/content_caching/configuration_spec.rb