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