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.7 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.7-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.7-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.6 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.6-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.6-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.5 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.5-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.5-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.4 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.4-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.4-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.3 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.3-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.3-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.2 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.2-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.2-x64-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.1 spec/unit/pops/binder/bindings_validator_factory_spec.rb
puppet-3.8.1-x86-mingw32 spec/unit/pops/binder/bindings_validator_factory_spec.rb