Disable rpsec test instead of commenting it
Change-Id: I4e90a90f6f41fded5021e4a0986ab4b1df518938
This commit is contained in:
parent
8cf1c5a5e7
commit
d4985e292f
@ -32,16 +32,17 @@ EOF
|
||||
it { is_expected.to contain_file('/etc/hiera/override/foo.yaml') }
|
||||
end
|
||||
|
||||
# describe 'with invalid YAML' do
|
||||
# yaml =<<EOF
|
||||
#lma_collector:
|
||||
# some_parameter: "ee
|
||||
#EOF
|
||||
# let(:params) do
|
||||
# {:content => yaml}
|
||||
# end
|
||||
# it { is_expected.to raise_error(Psych::SyntaxError) }
|
||||
# end
|
||||
describe 'with invalid YAML' do
|
||||
pending('needs stdlib >= 4.9.0')
|
||||
yaml =<<EOF
|
||||
lma_collector:
|
||||
some_parameter: "ee
|
||||
EOF
|
||||
let(:params) do
|
||||
{:content => yaml}
|
||||
end
|
||||
it { is_expected.to raise_error(Psych::SyntaxError) }
|
||||
end
|
||||
|
||||
describe 'with data which is not a hahs' do
|
||||
yaml =<<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user