Sha256: 7ec3bb765d38db7d614a2ac42bf1a80cc93e87c1a3d2d4a4b00e4d6ab02418be

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

require "./lib/infect"

describe Infect::Command do
  it "build a nil class when given a bad command" do
    Infect::Command.build("blargl", "bangle", {}).should be_nil
  end

  it "build a bundle command" do
    Infect::Command.build("bundle", "tpope/vim-pathogen", {}).name.should == "vim-pathogen"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
infect-0.0.5 spec/command_spec.rb