Sha256: d173642e8e2146a838bd0515fec15c80eea5d787126f4bb64e666a120ac6ba5e
Contents?: true
Size: 379 Bytes
Versions: 8
Compression:
Stored size: 379 Bytes
Contents
require 'cucumber/tag_expressions/parser' require 'yaml' tests = YAML.load_file('../testdata/errors.yml') describe 'Errors' do tests.each do |test| it %Q{fails to parse "#{test['expression']}" with "#{test['error']}"} do parser = Cucumber::TagExpressions::Parser.new expect { parser.parse(test['expression']) }.to raise_error(test['error']) end end end
Version data entries
8 entries across 8 versions & 2 rubygems