lib/fitting/log.rb in fitting-4.0.4 vs lib/fitting/log.rb in fitting-4.1.0

- old
+ new

@@ -95,8 +95,11 @@ puts "\n\n" Fitting::Log.failure(logs).each_with_index do |log, index| puts "\e[31m #{index + 1}) #{log.error.class} #{log.error.message}\n\n\e[0m" end print "\e[31m#{logs.size} examples, #{Fitting::Log.failure(logs).size} failure, #{Fitting::Log.pending(logs).size} pending\e[0m\n" + unless Fitting::Log.failure(logs).size <= 0 + exit 1 + end end end end \ No newline at end of file