Sha256: 690e68a13d3a6b0a2520dcce6597a663a85c6fa0113c7788203ad58321317429

Contents?: true

Size: 331 Bytes

Versions: 30

Compression:

Stored size: 331 Bytes

Contents

require 'spec_helper'
require 'gherkin/formatter/model'

module Gherkin
  module Formatter
    module Model
      describe Tag do
        it "should be equal when name is equal" do
          tags = [Tag.new('@x', 1), Tag.new('@y', 2), Tag.new('@x', 3)]
          tags.uniq.length.should == 2
        end
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
gherkin-2.1.5 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.5-i386-mswin32 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.5-i386-mingw32 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.5-universal-dotnet spec/gherkin/formatter/model_spec.rb
gherkin-2.1.5-java spec/gherkin/formatter/model_spec.rb
gherkin-2.1.4 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.4-i386-mswin32 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.4-i386-mingw32 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.4-universal-dotnet spec/gherkin/formatter/model_spec.rb
gherkin-2.1.4-java spec/gherkin/formatter/model_spec.rb
gherkin-2.1.3 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.3-i386-mswin32 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.3-i386-mingw32 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.3-universal-dotnet spec/gherkin/formatter/model_spec.rb
gherkin-2.1.3-java spec/gherkin/formatter/model_spec.rb
gherkin-2.1.2 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.2-i386-mswin32 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.2-i386-mingw32 spec/gherkin/formatter/model_spec.rb
gherkin-2.1.2-universal-dotnet spec/gherkin/formatter/model_spec.rb
gherkin-2.1.2-java spec/gherkin/formatter/model_spec.rb