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.8.1-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.5 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.5-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.5-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.4 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.4-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.4-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.3 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.3-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.3-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.2 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.2-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.2-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.1 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.1-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.1-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.0 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.0-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.7.0-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.6.2 spec/unit/pops/binder/bindings_validator_factory_spec.rb