Sha256: 5b3a8852e8a01f794490cc6303147305e7c981a6935dc661b134467c3cb99721

Contents?: true

Size: 412 Bytes

Versions: 5

Compression:

Stored size: 412 Bytes

Contents

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

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

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