Sha256: 899e5f7d3c18965135367d3706c77c393ff33ac8572ba8fc8e4e96c83996d6da

Contents?: true

Size: 398 Bytes

Versions: 32

Compression:

Stored size: 398 Bytes

Contents

require 'spec_helper'

describe Cuboid::Support::Filter::Set do
    it_behaves_like 'filter'

    describe '#merge' do
        it 'merges 2 sets' do
            new = described_class.new

            subject << 'test'
            new     << 'test2'

            subject.merge new
            expect(subject).to include 'test'
            expect(subject).to include 'test2'
        end
    end

end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
cuboid-0.2.11 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.10 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.9 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.8 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.7 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.6 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.5 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.4.2 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.4.1 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.4 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.3 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.2 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2.1 spec/cuboid/support/filter/set_spec.rb
cuboid-0.2 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.9.1 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.9 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.8 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.7 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.6.1 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.6 spec/cuboid/support/filter/set_spec.rb