Sha256: 49d31e6867856ab638f83927f70fb2b7186c866c0b664beab17ce4a53a2533f9

Contents?: true

Size: 501 Bytes

Versions: 5

Compression:

Stored size: 501 Bytes

Contents

module Polytrix
  describe Configuration do
    subject(:configuration) { Configuration.new }

    describe '.manifest' do
      it 'parses the YAML file and registers the manifest' do
        original_manifest = configuration.manifest
        configuration.manifest = 'spec/fixtures/polytrix.yml'
        new_manifest = configuration.manifest
        expect(original_manifest).to_not eq(new_manifest)
        expect(new_manifest).to(be_an_instance_of(Polytrix::Manifest))
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
polytrix-0.1.4 spec/polytrix/configuration_spec.rb
polytrix-0.1.3 spec/polytrix/configuration_spec.rb
polytrix-0.1.2 spec/polytrix/configuration_spec.rb
polytrix-0.1.1 spec/polytrix/configuration_spec.rb
polytrix-0.1.0 spec/polytrix/configuration_spec.rb