lib/rspec/instafail.rb in rspec-instafail-0.1.2 vs lib/rspec/instafail.rb in rspec-instafail-0.1.3
- old
+ new
@@ -26,10 +26,9 @@
end
end
Instafail
else
# rspec 2.x
- require 'rspec'
require 'rspec/core/formatters/progress_formatter'
class Instafail < RSpec::Core::Formatters::ProgressFormatter
def example_failed(example)
@counter ||= 0
@counter += 1