Sha256: 438ee574a7ea9ba32eed4c227a97f6d7b7d583568831726dca71e864969acfd0

Contents?: true

Size: 563 Bytes

Versions: 13

Compression:

Stored size: 563 Bytes

Contents

require 'spec_helper'

require 'pe_build/config'

describe PEBuild::Config::PEBootstrap do
  let(:machine)  { double('machine') }

  context 'when finalized with default values' do
    before(:each) { subject.finalize! }

    it 'passes validation' do
      errors = subject.validate(machine)

      expect(errors).to include('PE Bootstrap' => [])
    end
  end

  # TODO: Spec test the validation functions. Not critical right now since it
  # is pretty much testing tests. But, having specs is a good way for people to
  # see precisely _what_ is allowed.

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
vagrant-pe_build-0.10.4 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.10.3 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.10.2 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.10.1 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.10.0 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.9.7 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.9.6 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.9.5 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.9.4 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.9.3 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.9.2 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.9.1 spec/unit/config/pe_bootstrap_spec.rb
vagrant-pe_build-0.9.0 spec/unit/config/pe_bootstrap_spec.rb