Sha256: 539d6ed4b82983bb9e036b0e3547e28b5cb9a03d26d7493aa8f51be3e3cea249

Contents?: true

Size: 484 Bytes

Versions: 21

Compression:

Stored size: 484 Bytes

Contents

require 'spec_helper'

module Cucumber::Ast
  describe TreeWalker do
    let(:tree_walker) do
      TreeWalker.new(nil, [double('listener', :before_visit_features => nil)])
    end
    let(:features) { double('features', :accept => nil) }

    it "should visit features" do
      tree_walker.should_not_receive(:warn)
      tree_walker.visit_features(features)
    end

    it "should return self" do
      tree_walker.visit_features(features).should == tree_walker
    end
  end
end

Version data entries

21 entries across 19 versions & 2 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/spec/cucumber/ast/tree_walker_spec.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/spec/cucumber/ast/tree_walker_spec.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.20 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.19 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.18 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.17 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.16 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.15 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.14 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.13 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.12 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.11 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.10 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.9 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.8 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.7 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.6 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.5 spec/cucumber/ast/tree_walker_spec.rb
cucumber-1.3.4 spec/cucumber/ast/tree_walker_spec.rb