mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2025-04-16 01:30:23 +00:00
test(inspec): display proper diff when _mapdata
mismatch
The use of `eq` instead of `include` premits to have a nice diff after the `expected/got` oneliners.
This commit is contained in:
parent
34a9c8f703
commit
1c99556695
1 changed files with 1 additions and 1 deletions
|
@ -13,6 +13,6 @@ control '`map.jinja` YAML dump' do
|
||||||
|
|
||||||
describe file('/tmp/salt_mapdata_dump.yaml') do
|
describe file('/tmp/salt_mapdata_dump.yaml') do
|
||||||
it { should exist }
|
it { should exist }
|
||||||
its('content') { should include mapdata_dump }
|
its('content') { should eq mapdata_dump }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue