Pārlūkot izejas kodu

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.
tags/v2.0.2
Daniel Dehennin pirms 4 gadiem
vecāks
revīzija
1c99556695
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      test/integration/default/controls/_mapdata_spec.rb

+ 1
- 1
test/integration/default/controls/_mapdata_spec.rb Parādīt failu

@@ -13,6 +13,6 @@ control '`map.jinja` YAML dump' do

describe file('/tmp/salt_mapdata_dump.yaml') do
it { should exist }
its('content') { should include mapdata_dump }
its('content') { should eq mapdata_dump }
end
end

Notiek ielāde…
Atcelt
Saglabāt