spec/lib/config_spec.rb in hieracles-0.3.6 vs spec/lib/config_spec.rb in hieracles-0.4.0

- old
+ new

@@ -4,11 +4,11 @@ describe '.new' do context 'with an existing file' do let(:options) { { config: 'spec/files/config.yml' } } let(:expected) do { - classpath: File.expand_path('spec/files/farm_modules/%s.pp'), + classpath: File.expand_path('spec/files/farm_modules/%s/manifests/init.pp'), modulepath: File.expand_path('spec/files/modules'), hierafile: File.expand_path('spec/files/hiera.yaml') } end let(:config) { Hieracles::Config.new options } @@ -29,10 +29,10 @@ hierafile: hierapath } end let(:expected) do { - classpath: File.expand_path('spec/files/farm_modules/%s.pp'), + classpath: File.expand_path('spec/files/farm_modules/%s/manifests/init.pp'), modulepath: File.expand_path('spec/files/modules'), hierafile: File.expand_path('spec/files/hiera.yaml') } end let(:config) { Hieracles::Config.new options }