Sha256: f08c97d7056293cec2a6030dc18a4ba4c92b8fe659650277113eeae11cbe9288
Contents?: true
Size: 623 Bytes
Versions: 1
Compression:
Stored size: 623 Bytes
Contents
module CukeModeler module HelperMethods def assert_bidirectional_equality(base_thing, compared_thing) expect(base_thing).to eq(compared_thing) expect(compared_thing).to eq(base_thing) end def assert_bidirectional_inequality(base_thing, compared_thing) expect(base_thing).to_not eq(compared_thing) expect(compared_thing).to_not eq(base_thing) end def gherkin?(*versions) versions.include?(gherkin_major_version) end def gherkin_major_version Gem.loaded_specs['gherkin'].version.version.match(/^(\d+)\./)[1].to_i end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cuke_modeler-2.1.0 | testing/helper_methods.rb |