Sha256: 308304e8295a50000182d2a06143d1068772d96ed7635a1930bc6e1ecb9a1e37
Contents?: true
Size: 433 Bytes
Versions: 5
Compression:
Stored size: 433 Bytes
Contents
require 'spec_helper' module Alf::Shell::Operator describe Rename do let(:input){ [] } subject{ Rename.run(argv) } before do subject.should be_a(Alf::Operator::Relational::Rename) subject.operands.should eq([input]) end context "a typical config" do let(:argv){ [input, '--', 'a', 'z'] } specify{ subject.renaming.should eq(Alf::Renaming[:a => :z]) } end end end
Version data entries
5 entries across 5 versions & 1 rubygems