blob: b26563b2ede674f04161b8c251ad3681e408e843 (
plain)
1
2
3
4
5
6
7
8
9
|
require 'spec_helper'
describe 'with_lens_noaugeas' do
it 'should error' do
expect {
should contain_file('/usr/share/augeas/lenses/foo.aug')
}.to raise_error(Puppet::Error, /You must declare the augeas class/)
end
end
|