Sha256: c6274fe627771c7edfa7d2f5f8629156afcca1c81282fd304a6e899380712310

Contents?: true

Size: 421 Bytes

Versions: 5

Compression:

Stored size: 421 Bytes

Contents

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

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

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