Sha256: 1e32fe33395d700c697267f420f498a2ade96d1b7ca3dfe0e827c2777203f031
Contents?: true
Size: 457 Bytes
Versions: 63
Compression:
Stored size: 457 Bytes
Contents
require 'cucumber/cucumber_expressions/parameter_type' module Cucumber module CucumberExpressions describe ParameterType do it 'does not allow ignore flag on regexp' do expect do ParameterType.new("case-insensitive", /[a-z]+/i, String, lambda {|s| s}, true, true) end.to raise_error( CucumberExpressionError, "ParameterType Regexps can't use option Regexp::IGNORECASE") end end end end
Version data entries
63 entries across 63 versions & 5 rubygems