spec/jacoco_spec.rb in danger-jacoco-instacart-0.1.14 vs spec/jacoco_spec.rb in danger-jacoco-instacart-0.1.15
- old
+ new
@@ -56,10 +56,10 @@
path_a = "#{File.dirname(__FILE__)}/fixtures/output_a.xml"
@my_plugin.files_to_check = ['src/java/com/example/CachedRepository.java', 'src/java/io/sample/UseCase.java']
@my_plugin.minimum_class_coverage_percentage = 60
- expect(File).to receive(:open).with('danger_jacoco_failure_status_file.txt', 'w')
+ expect(File).to receive(:open).with('danger_jacoco_failure_status_file.json', 'w')
@my_plugin.report path_a
end
it 'does _not_ create status file upon success' do
path_a = "#{File.dirname(__FILE__)}/fixtures/output_a.xml"