spec/unit/mutant/reporter/cli/printer/subject_result_spec.rb in mutant-0.8.3 vs spec/unit/mutant/reporter/cli/printer/subject_result_spec.rb in mutant-0.8.4
- old
+ new
@@ -10,11 +10,11 @@
- test-a
STR
end
context 'on partial coverage' do
- update(:mutation_a_test_result) { { passed: true } }
+ with(:mutation_a_test_result) { { passed: true } }
it_reports <<-'STR'
subject-a
- test-a
evil:subject-a:d27d2
@@ -24,10 +24,10 @@
-----------------------
STR
end
context 'without results' do
- update(:subject_a_result) { { mutation_results: [] } }
+ with(:subject_a_result) { { mutation_results: [] } }
it_reports <<-'STR'
subject-a
- test-a
STR