Sha256: a966b4d3f6f8f68fd3cc6094973dda485e73e8d2b67f7c9c67e8f7fe66f28a34

Contents?: true

Size: 671 Bytes

Versions: 150

Compression:

Stored size: 671 Bytes

Contents

require 'spec_helper'
require 'puppet/pops'

describe 'The bindings validator factory' do
  let(:factory) {  Puppet::Pops::Binder::BindingsValidatorFactory.new() }

  it 'should instantiate a BindingsValidatorFactory' do
    expect(factory.class).to eq(Puppet::Pops::Binder::BindingsValidatorFactory)
  end

  it 'should produce label_provider of class BindingsLabelProvider' do
    expect(factory.label_provider.class).to eq(Puppet::Pops::Binder::BindingsLabelProvider)
  end

  it 'should produce validator of class BindingsChecker' do
    expect(factory.validator(Puppet::Pops::Validation::Acceptor.new()).class).to eq(Puppet::Pops::Binder::BindingsChecker)
  end
end

Version data entries

150 entries across 150 versions & 1 rubygems

Version Path
puppet-4.9.0 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.9.0-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.9.0-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.9.0-universal-darwin spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.2 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.2-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.2-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.2-universal-darwin spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.7.1 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.7.1-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.7.1-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.7.1-universal-darwin spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.1 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.1-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.1-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.1-universal-darwin spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.0 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.0-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.0-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.8.0-universal-darwin spec/unit/pops/binder/bindings_validator_factory_spec.rb