Permalink
Browse files

Cleanup vestigial references to visitor

  • Loading branch information...
1 parent d8a0865 commit 63f1e2a7350c0060e6471da52d19bce7c43a5fae @brynary committed Oct 20, 2009
Showing with 3 additions and 5 deletions.
  1. +3 −3 lib/testjour/configuration.rb
  2. +0 −2 lib/testjour/cucumber_extensions/step_counter.rb
@@ -86,9 +86,9 @@ def feature_files
features = load_plain_text_features(cucumber_configuration.feature_files)
finder = Testjour::FeatureFileFinder.new
- visitor = Cucumber::Ast::TreeWalker.new(step_mother, [finder])
- visitor.options = cucumber_configuration.options
- visitor.visit_features(features)
+ walker = Cucumber::Ast::TreeWalker.new(step_mother, [finder])
+ walker.options = cucumber_configuration.options
+ walker.visit_features(features)
@feature_files = finder.feature_files
return @feature_files
@@ -1,5 +1,3 @@
-require 'cucumber/ast/visitor'
-
module Testjour
class StepCounter

0 comments on commit 63f1e2a

Please sign in to comment.