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.1.5 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.4 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.3 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.2 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.1 spec/cuboid/support/filter/set_spec.rb
cuboid-0.1.0 spec/cuboid/support/filter/set_spec.rb
cuboid-0.0.5 spec/cuboid/support/filter/set_spec.rb
cuboid-0.0.4 spec/cuboid/support/filter/set_spec.rb
cuboid-0.0.3 spec/cuboid/support/filter/set_spec.rb
cuboid-0.0.3alpha spec/cuboid/support/filter/set_spec.rb
cuboid-0.0.2alpha spec/cuboid/support/filter/set_spec.rb
cuboid-0.0.1alpha spec/cuboid/support/filter/set_spec.rb