Sha256: a1f3842e6f2c07337400ca45ae090e64a80d6010431ba6c5b1e8e027e03e0ea1
Contents?: true
Size: 443 Bytes
Versions: 68
Compression:
Stored size: 443 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' module Cucumber module Ast describe StepCollection do it "should convert And to Given in snippets" do c = StepCollection.new([ Step.new(1, 'Given', 'cukes'), Step.new(2, 'And', 'turnips') ]) actual_keywords = c.step_invocations.map{|i| i.actual_keyword} actual_keywords.should == %w{Given Given} end end end end
Version data entries
68 entries across 68 versions & 5 rubygems