Shuffled specs around.

This commit is contained in:
Joshua Nichols
2010-04-01 20:14:29 -04:00
parent 34ef4a4659
commit c5f8563f71
2 changed files with 4 additions and 4 deletions

19
spec/homesick_spec.rb Normal file
View File

@@ -0,0 +1,19 @@
require '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', :destination => 'wfarr_dotfiles')
@homesick.clone "wfarr/dotfiles"
end
end