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.10.12 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.12-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.12-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.12-universal-darwin spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.11 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.11-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.11-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.11-universal-darwin spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.10 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.10-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.10-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.10-universal-darwin spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.9 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.9-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.9-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.9-universal-darwin spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.8 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.8-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.8-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-4.10.8-universal-darwin spec/unit/pops/binder/bindings_validator_factory_spec.rb