Sha256: eff503f0d901765fa6584dd08495a640141f7337f2801de4c197fc4999ef5912

Contents?: true

Size: 403 Bytes

Versions: 5

Compression:

Stored size: 403 Bytes

Contents

require 'spec_helper'
module Alf::Shell::Operator
  describe Union do

    let(:left) { [{:left  => true}] }
    let(:right){ [{:right => true}] }
    subject{ Union.run(argv) }

    context "the default config" do
      let(:argv){ [left, right] }
      specify{
        subject.should be_a(Alf::Operator::Relational::Union)
        subject.operands.should eq([left, right])
      }
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-0.12.2 spec/unit/alf-shell/operator/test_union.rb
alf-0.12.1 spec/unit/alf-shell/operator/test_union.rb
alf-0.12.0 spec/unit/alf-shell/operator/test_union.rb
alf-0.11.1 spec/unit/alf-shell/operator/test_union.rb
alf-0.11.0 spec/unit/alf-shell/operator/test_union.rb