spec/cucumber/ast/scenario_spec.rb in aslakhellesoy-cucumber-0.2.3.2 vs spec/cucumber/ast/scenario_spec.rb in aslakhellesoy-cucumber-0.2.3.3

- old
+ new

@@ -31,35 +31,8 @@ @visitor.visit_feature_element(scenario) $y.should == nil end - it "should be at exact line" do - s = Scenario.new(background=nil, comment=Comment.new(""), - tags=Tags.new(44, []), 45, keyword="", name="", steps=[]) - - s.should be_matches_lines([44]) - s.should be_matches_lines([45]) - end - - it "should be at line if tags or steps are" do - s = Scenario.new( - background=nil, - comment=Comment.new(""), - tags=Tags.new(43, []), - line=45, - keyword="", - name="", - steps=[ - Step.new(46, "Given", ""), - Step.new(47, "Given", ""), - Step.new(48, "Given", ""), - ] - ) - - s.should be_matches_lines([43]) - s.should be_matches_lines([47]) - s.should_not be_matches_lines([49]) - end end end end