Sha256: db2ca40ae24a34c55034ca5c68c317cf4d0d721ce0f174d9b0c2dbb92cba5699

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

module Polytrix
  module Core
    describe Manifest do
      describe '#from_yaml' do
        subject(:manifest) { described_class.from_yaml 'spec/fixtures/polytrix.yml' }

        it 'initializes a manifest' do
          expect(manifest).to be_an_instance_of Polytrix::Manifest
        end

        it 'processes ERB' do
          expect(manifest.global_env['LOCALE']).to eq(ENV['LANG'])
        end

        it 'parses global_env' do
          expect(manifest.global_env).to be_an_instance_of Polytrix::Manifest::Environment
        end

        it 'parses suites' do
          expect(manifest.suites).to be_an_instance_of Polytrix::Manifest::Suites
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polytrix-0.0.1 spec/polytrix/manifest_spec.rb