Sha256: b111b76e677c76b341e61bec887fdd59f3c85fe43740bacd627ecae55125a683

Contents?: true

Size: 505 Bytes

Versions: 6

Compression:

Stored size: 505 Bytes

Contents

require 'spec_helper'

#:nodoc:
describe Snapshotar::Core do

  context "listing snapshots" do

    before(:all) do
      Snapshotar.configure do |config|
        # lets use default values
        config.storage_type = :file
        config.models = []
      end
    end

    it "should load default config" do
      expect(Snapshotar.configuration).not_to be_nil

      expect(Snapshotar.configuration.storage_type).to eq :file
      expect(Snapshotar.configuration.models).to be_empty
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
snapshotar-0.0.7 spec/config_spec.rb
snapshotar-0.0.6 spec/config_spec.rb
snapshotar-0.0.4 spec/config_spec.rb
snapshotar-0.0.3 spec/config_spec.rb
snapshotar-0.0.2 spec/config_spec.rb
snapshotar-0.0.1 spec/config_spec.rb