Added devver-construct.
This commit is contained in:
1
Gemfile
1
Gemfile
@@ -12,4 +12,5 @@ group :development do
|
||||
gem "bundler", ">= 0.9.5"
|
||||
gem "jeweler", ">= 1.4.0"
|
||||
gem "rcov", ">= 0"
|
||||
gem "devver-construct"
|
||||
end
|
||||
|
||||
@@ -5,13 +5,16 @@ describe "Homesick" do
|
||||
homesick = Homesick.new
|
||||
repos_dir = Pathname.new('~/.homesick/repos').expand_path
|
||||
homesick.clone "git://github.com/technicalpickles/pickled-vim.git"
|
||||
|
||||
File.directory?("#{repos_dir}/pickled-vim").should == true
|
||||
end
|
||||
|
||||
it "should clone a github repo" do
|
||||
homesick = Homesick.new
|
||||
repos_dir = Pathname.new('~/.homesick/repos').expand_path
|
||||
|
||||
homesick.clone "wfarr/dotfiles"
|
||||
|
||||
File.directory?("#{repos_dir}/wfarr_dotfiles").should == true
|
||||
end
|
||||
end
|
||||
|
||||
@@ -3,8 +3,8 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
||||
require 'homesick'
|
||||
require 'spec'
|
||||
require 'spec/autorun'
|
||||
|
||||
require 'construct'
|
||||
|
||||
Spec::Runner.configure do |config|
|
||||
|
||||
config.include Construct::Helpers
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user