Sha256: 07597670ca191fe912def424ee179364fbab2f93a8854215de4a9d0a36bdedcf
Contents?: true
Size: 486 Bytes
Versions: 5
Compression:
Stored size: 486 Bytes
Contents
require 'spec_helper' module Alf::Shell::Operator describe Extend do let(:input){ [] } subject{ Extend.run(argv) } before do subject.should be_a(Alf::Operator::Relational::Extend) subject.operands.should eq([input]) end context "a typical config" do let(:argv){ [input] + %w{-- big} + ["tested > 10"] } specify{ subject.ext.should eq(Alf::TupleComputation[:big => Alf::TupleExpression["tested > 10"]]) } end end end
Version data entries
5 entries across 5 versions & 1 rubygems