lib/fitting/report/combinations.rb in fitting-2.18.0 vs lib/fitting/report/combinations.rb in fitting-2.18.1
- old
+ new
@@ -12,10 +12,10 @@
def size
@combinations.size
end
def size_with_tests
- @combinations.count { |c| !c.tests.empty? }
+ @combinations.count { |c| c.tests.size != 0 }
end
def join(tests)
tests.to_a.map do |test|
if there_a_suitable_combination?(test)