Shuffled specs around.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
||||
require 'spec_helper'
|
||||
|
||||
describe "Homesick" do
|
||||
describe Homesick do
|
||||
before do
|
||||
@homesick = Homesick.new
|
||||
end
|
||||
@@ -12,7 +12,7 @@ describe "Homesick" do
|
||||
end
|
||||
|
||||
it "should clone a github repo" do
|
||||
@homesick.should_receive(:git_clone).with('git://github.com/wfarr/dotfiles.git', 'wfarr_dotfiles')
|
||||
@homesick.should_receive(:git_clone).with('git://github.com/wfarr/dotfiles.git', :destination => 'wfarr_dotfiles')
|
||||
|
||||
@homesick.clone "wfarr/dotfiles"
|
||||
end
|
||||
Reference in New Issue
Block a user