Shuffled specs around.
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -12,5 +12,5 @@ group :development do
|
|||||||
gem "bundler", ">= 0.9.5"
|
gem "bundler", ">= 0.9.5"
|
||||||
gem "jeweler", ">= 1.4.0"
|
gem "jeweler", ">= 1.4.0"
|
||||||
gem "rcov", ">= 0"
|
gem "rcov", ">= 0"
|
||||||
gem "devver-construct"
|
gem "test-construct"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
require 'spec_helper'
|
||||||
|
|
||||||
describe "Homesick" do
|
describe Homesick do
|
||||||
before do
|
before do
|
||||||
@homesick = Homesick.new
|
@homesick = Homesick.new
|
||||||
end
|
end
|
||||||
@@ -12,7 +12,7 @@ describe "Homesick" do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it "should clone a github repo" do
|
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"
|
@homesick.clone "wfarr/dotfiles"
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user