Skip to content

Commit fcc39fc

Browse files
author
Kevin Paulisse
committed
Ignore tag and update test accordingly
1 parent 405e079 commit fcc39fc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/api/v1/catalog-diff-local-files.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
hiera_config: HIERA_CONFIG,
4444
hiera_path: 'hieradata',
4545
node: NODE,
46-
puppet_binary: PUPPET_BINARY
46+
puppet_binary: PUPPET_BINARY,
47+
ignore: { type: '*', title: '*', attr: 'tag' } # Ignore all attributes named 'tag'
4748
)
4849

4950
# We should get back a structure with 3 keys: `:diffs` will be an array of differences; `:from` will be the "from"

spec/octocatalog-diff/integration/examples_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
output = @stdout.split("\n")
8686
expect(output).to include('Object returned from OctocatalogDiff::API::V1.catalog_diff is: OpenStruct')
8787
expect(output).to include('The keys are: diffs, from, to')
88-
expect(output).to include('There are 36 diffs reported here')
88+
expect(output).to include('There are 30 diffs reported here')
8989
end
9090

9191
it 'should not output to STDERR' do

0 commit comments

Comments
 (0)