Sha256: d8ec415ba4d23b7a4af3f8e4db19953da508e994351f43047755b4889b37be4d

Contents?: true

Size: 415 Bytes

Versions: 5

Compression:

Stored size: 415 Bytes

Contents

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

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

    context "the default config" do
      let(:argv){ [left, right] }
      specify{
        subject.should be_a(Alf::Operator::Relational::Intersect)
        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_intersect.rb
alf-0.12.1 spec/unit/alf-shell/operator/test_intersect.rb
alf-0.12.0 spec/unit/alf-shell/operator/test_intersect.rb
alf-0.11.1 spec/unit/alf-shell/operator/test_intersect.rb
alf-0.11.0 spec/unit/alf-shell/operator/test_intersect.rb