Sha256: 64d918a039eb62d72c10b55d399dd7922c6bd980f10e510f1247fc34c18e3d6f
Contents?: true
Size: 550 Bytes
Versions: 3
Compression:
Stored size: 550 Bytes
Contents
require 'spec_helper' module Alf::Shell::Operator describe Ungroup do let(:input){ suppliers } subject{ Ungroup.run(argv) } before do subject.should be_a(Alf::Algebra::Ungroup) subject.operands.should eq([input]) end context "without name" do let(:argv){ [input] } specify{ subject.attribute.should eq(:grouped) } end context "with a name" do let(:argv){ [input] + %w{-- attrname} } specify{ subject.attribute.should eq(:attrname) } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
alf-shell-0.14.0 | spec/unit/operator/test_ungroup.rb |
alf-shell-0.13.1 | spec/unit/operator/test_ungroup.rb |
alf-shell-0.13.0 | spec/unit/operator/test_ungroup.rb |