Sha256: 2b3bd3ebd0a46688182d38ea5d37384f5aaa45a78b47e4fa36659c50db663d67

Contents?: true

Size: 403 Bytes

Versions: 5

Compression:

Stored size: 403 Bytes

Contents

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

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

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