Sha256: 69514c2da563579a031e38b0f9550a8bed773703bc52276ad71c6911d06ad063

Contents?: true

Size: 336 Bytes

Versions: 58

Compression:

Stored size: 336 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.to_a.uniq.length.should == 2
        end
      end
    end
  end
end

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/model_spec.rb
vim-jar-0.1.2 bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/model_spec.rb
vim-jar-0.1.1 bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/model_spec.rb
vim-jar-0.1.0 bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/model_spec.rb
gherkin-2.3.0 spec/gherkin/formatter/model_spec.rb
gherkin-2.3.0-x86-mswin32 spec/gherkin/formatter/model_spec.rb
gherkin-2.3.0-x86-mingw32 spec/gherkin/formatter/model_spec.rb
gherkin-2.3.0-universal-dotnet spec/gherkin/formatter/model_spec.rb
gherkin-2.3.0-java spec/gherkin/formatter/model_spec.rb
gherkin-2.2.9 spec/gherkin/formatter/model_spec.rb
gherkin-2.2.9-x86-mswin32 spec/gherkin/formatter/model_spec.rb
gherkin-2.2.9-x86-mingw32 spec/gherkin/formatter/model_spec.rb
gherkin-2.2.9-universal-dotnet spec/gherkin/formatter/model_spec.rb
gherkin-2.2.9-java spec/gherkin/formatter/model_spec.rb
gherkin-2.2.8 spec/gherkin/formatter/model_spec.rb
gherkin-2.2.8-x86-mswin32 spec/gherkin/formatter/model_spec.rb
gherkin-2.2.8-x86-mingw32 spec/gherkin/formatter/model_spec.rb
gherkin-2.2.8-universal-dotnet spec/gherkin/formatter/model_spec.rb
gherkin-2.2.8-java spec/gherkin/formatter/model_spec.rb
gherkin-2.2.7 spec/gherkin/formatter/model_spec.rb