We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7729aa1 commit 13c0714Copy full SHA for 13c0714
spec/unit/puppet-lint/bin_spec.rb
@@ -457,6 +457,7 @@ def initialize(args)
457
458
it 'creates a code climate report' do
459
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)
461
expect(FileUtils.compare_file(report_file.path, 'spec/fixtures/test/reports/code_climate.json')).to be_truthy
462
end
463
0 commit comments