Sha256: 06dbf4c0b26ef03d2d63d8cbe058f58ff7486ac57db2b3fa2368be44be43e31a

Contents?: true

Size: 349 Bytes

Versions: 21

Compression:

Stored size: 349 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper')

module Cucumber::Ast
  describe TreeWalker do
    it "should visit features" do
      tw = TreeWalker.new(nil, [mock('listener', :before_visit_features => nil)], {})
      tw.should_not_receive(:warn)
      tw.visit_features(mock('features', :accept => nil))
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cucumber-0.8.7 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.8.5 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.8.4 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.8.3 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.8.2 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.8.1 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.8.0 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.3 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.2 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.1 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.0 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.0.beta.8 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.0.beta.7 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.0.beta.6 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.0.beta.5 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.0.beta.4 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.0.beta.3 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.0.beta.2 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.7.0.beta.1 spec/cucumber/ast/tree_walker_spec.rb
cucumber-0.6.4 spec/cucumber/ast/tree_walker_spec.rb