Sha256: 99bc7d74224bd1cb0ee5f7960a244df2d1db683b1ea08d5d4e2bf1737b9da5eb

Contents?: true

Size: 299 Bytes

Versions: 3

Compression:

Stored size: 299 Bytes

Contents

require "./lib/infect"

describe Infect::Command do
  it "build a nil class when given a bad command" do
    Infect::Command.build("blargl", []).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

3 entries across 3 versions & 1 rubygems

Version Path
infect-0.0.4 spec/command_spec.rb
infect-0.0.3 spec/command_spec.rb
infect-0.0.2 spec/command_spec.rb