Sha256: d42cf37a107cdb81b1ae14d981adccb8bdb16dbdf62aca77281217058837bc4e

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Yardstick::OrderedSet, '#merge' do
  subject { set.merge(other) }

  let(:set)   { described_class.new([item1]) }
  let(:other) { described_class.new([item2]) }
  let(:item1) { double('item')               }
  let(:item2) { double('item')               }

  it { should be(set) }

  it { should include(item1, item2) }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yardstick-0.9.9 spec/unit/yardstick/ordered_set/merge_spec.rb
yardstick-0.9.8 spec/unit/yardstick/ordered_set/merge_spec.rb
yardstick-0.9.7 spec/unit/yardstick/ordered_set/merge_spec.rb