spec/lib/hiera_spec.rb in hieracles-0.2.0 vs spec/lib/hiera_spec.rb in hieracles-0.2.1
- old
+ new
@@ -6,10 +6,9 @@
context 'hiera file not found' do
let(:options) { {
basepath: 'spec/files',
config: 'spec/files/config.yml',
- basepath: 'spec/files',
hierafile: 'hiera_no.yaml'
} }
it 'raises an error' do
expect { Hieracles::Config.load(options) }.to raise_error(IOError)
end