Browse files

Remove commented code.

on_feature_not_found is not interesting at this time.

on_skipped_step is run for each step after a previous step fails, so we
don't really care about it.
  • Loading branch information...
1 parent cb410c8 commit 44e1d7bc40612241eda0e7093b141322d2971f98 @spraints committed Jul 16, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/ci/reporter/spinach.rb
View
8 lib/ci/reporter/spinach.rb
@@ -8,10 +8,6 @@ def initialize
@report_manager = ReportManager.new('features')
end
- #def on_feature_not_found(feature)
- # feature['name']
- #end
-
def before_feature_run(feature)
@test_suite = TestSuite.new(feature.is_a?(Hash) ? feature['name'] : feature.name)
@test_suite.start
@@ -26,10 +22,6 @@ def on_undefined_step(step, failure, step_definitions = nil)
@test_case.name = "#{@test_case.name} (PENDING)"
end
-# def on_skipped_step(step, step_definitions = nil)
-# @test_case.name = "#{@test_case.name} (SKIPPED)"
-# end
-
def on_failed_step(step, failure, step_location, step_definitions = nil)
@test_case.failures << SpinachFailure.new(:failed, step, failure, step_location)
#step['name']

0 comments on commit 44e1d7b

Please sign in to comment.