Sha256: 99a49f7896a61433ed742f7fdbc302ba05ef3e322e79f6acffe37b8268b4309e
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Andrake::Commands do subject { Andrake::Commands.new } its(:aliases) { should == {"g" => "generate", "d" => "destroy" } } its(:parse) { should == {:command => "new"} } describe 'parse ["generate"]' do example { subject.parse(["generate"]).should == {:command => "generate"} } end describe 'parse(["g"])' do example { subject.parse(["g"]).should == {:command => "generate"} } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
andrake-1.1.1 | spec/commands/commands_spec.rb |