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