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