Sha256: c218751e4977a7fe3e0ab12b44a4c018110a1201dae289c0fdccb389adb9fe50

Contents?: true

Size: 656 Bytes

Versions: 71

Compression:

Stored size: 656 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
    factory.class.should == Puppet::Pops::Binder::BindingsValidatorFactory
  end

  it 'should produce label_provider of class BindingsLabelProvider' do
    factory.label_provider.class.should == Puppet::Pops::Binder::BindingsLabelProvider
  end

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

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
puppet-3.6.2-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.6.1 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.6.1-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.6.0 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.6.0-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.6.0.rc1 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.6.0.rc1-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.5.1 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.5.1-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.5.1.rc1 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.5.1.rc1-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.5.0.rc3 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.5.0.rc3-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.5.0.rc2 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.5.0.rc2-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.5.0.rc1 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.5.0.rc1-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.4.3 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.4.2 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.4.1 spec/unit/pops/binder/bindings_validator_factory_spec.rb