Sha256: 78990494371eaf128389f5e13ba65c8da2af69d82d4eba32c79a496dbc641ff3

Contents?: true

Size: 544 Bytes

Versions: 4

Compression:

Stored size: 544 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe "Homesick" do
  before do
    @homesick = Homesick.new
  end

  it "should clone any git repo" do
    @homesick.should_receive(:git_clone).with('git://github.com/technicalpickles/pickled-vim.git')

    @homesick.clone "git://github.com/technicalpickles/pickled-vim.git"
  end

  it "should clone a github repo" do
    @homesick.should_receive(:git_clone).with('git://github.com/wfarr/dotfiles.git', 'wfarr_dotfiles')

    @homesick.clone "wfarr/dotfiles"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
homesick-0.3.0 spec/homesick/homesick_spec.rb
homesick-0.2.0 spec/homesick/homesick_spec.rb
homesick-0.1.1 spec/homesick/homesick_spec.rb
homesick-0.1.0 spec/homesick/homesick_spec.rb