Sha256: 3fa2a07204cbdd94f71168a5b6c07cc5bc476fda0c7b79e6fffb704bc57572f8
Contents?: true
Size: 404 Bytes
Versions: 8
Compression:
Stored size: 404 Bytes
Contents
require 'cucumber/tag_expressions/parser' require 'yaml' tests = YAML.load_file('../testdata/parsing.yml') describe 'Parsing' do tests.each do |test| it %Q{parses "#{test['expression']}" into "#{test['formatted']}"} do parser = Cucumber::TagExpressions::Parser.new expression = parser.parse(test['expression']) expect(expression.to_s).to eq(test['formatted']) end end end
Version data entries
8 entries across 8 versions & 2 rubygems