Sha256: cbac5824eb32c41ea6874e996e375c15ae2f7235e64eb8409d3a974af2d68295

Contents?: true

Size: 396 Bytes

Versions: 618

Compression:

Stored size: 396 Bytes

Contents

require 'spec_helper'
require 'puppet/pops'

describe 'the Puppet::Pops::Types::ClassLoader' do
  it 'should produce path alternatives for CamelCase classes' do
    expected_paths = ['puppet_x/some_thing', 'puppetx/something']
    # path_for_name method is private
    expect(Puppet::Pops::Types::ClassLoader.send(:paths_for_name, ['PuppetX', 'SomeThing'])).to include(*expected_paths)
  end
end

Version data entries

618 entries across 618 versions & 1 rubygems

Version Path
puppet-8.3.0 spec/unit/pops/types/class_loader_spec.rb
puppet-8.3.0-x86-mingw32 spec/unit/pops/types/class_loader_spec.rb
puppet-8.3.0-x64-mingw32 spec/unit/pops/types/class_loader_spec.rb
puppet-8.3.0-universal-darwin spec/unit/pops/types/class_loader_spec.rb
puppet-8.4.0 spec/unit/pops/types/class_loader_spec.rb
puppet-8.4.0-x86-mingw32 spec/unit/pops/types/class_loader_spec.rb
puppet-8.4.0-x64-mingw32 spec/unit/pops/types/class_loader_spec.rb
puppet-8.4.0-universal-darwin spec/unit/pops/types/class_loader_spec.rb
puppet-7.28.0 spec/unit/pops/types/class_loader_spec.rb
puppet-7.28.0-x86-mingw32 spec/unit/pops/types/class_loader_spec.rb
puppet-7.28.0-x64-mingw32 spec/unit/pops/types/class_loader_spec.rb
puppet-7.28.0-universal-darwin spec/unit/pops/types/class_loader_spec.rb
puppet-8.3.1 spec/unit/pops/types/class_loader_spec.rb
puppet-8.3.1-x86-mingw32 spec/unit/pops/types/class_loader_spec.rb
puppet-8.3.1-x64-mingw32 spec/unit/pops/types/class_loader_spec.rb
puppet-8.3.1-universal-darwin spec/unit/pops/types/class_loader_spec.rb
puppet-7.27.0 spec/unit/pops/types/class_loader_spec.rb
puppet-7.27.0-x86-mingw32 spec/unit/pops/types/class_loader_spec.rb
puppet-7.27.0-x64-mingw32 spec/unit/pops/types/class_loader_spec.rb
puppet-7.27.0-universal-darwin spec/unit/pops/types/class_loader_spec.rb