Skip to content

Commit 13c0714

Browse files
committed
Debug failing test
1 parent 7729aa1 commit 13c0714

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/unit/puppet-lint/bin_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@ def initialize(args)
457457

458458
it 'creates a code climate report' do
459459
expect(bin.exitstatus).to eq(1)
460+
expect(File.open(report_file.path).read).to eq(File.open('spec/fixtures/test/reports/code_climate.json').read)
460461
expect(FileUtils.compare_file(report_file.path, 'spec/fixtures/test/reports/code_climate.json')).to be_truthy
461462
end
462463
end

0 commit comments

Comments
 (0)