Commit ff745f82 authored by Fabio Pelosin's avatar Fabio Pelosin

[SpecHelper] Fine tune bacon helper.

parent 1a883aba
......@@ -81,6 +81,9 @@ module Bacon
end
def handle_requirement(description, disabled = false)
if @first_error
print Bacon.color(nil, '_')
else
error = yield
if !error.empty?
m = error[0..0]
......@@ -93,6 +96,7 @@ module Bacon
print Bacon.color(nil, '.')
end
end
end
def handle_summary
first_error = ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment