Let's obey the column 80 rule.

This commit is contained in:
Will Farrington
2010-03-04 01:40:17 -05:00
parent ec2ddb5e31
commit 39652513de

View File

@@ -1,15 +1,17 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe "Homesick" do describe "Homesick" do
it "should clone a git repo" do it "should clone any git repo" do
homesick = Homesick.new homesick = Homesick.new
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?("#{Pathname.new('~/.homesick/repos').expand_path}/pickled-vim").should == true File.directory?("#{repos_dir}/pickled-vim").should == true
end end
it "should clone the github repo" do it "should clone a github repo" do
homesick = Homesick.new homesick = Homesick.new
repos_dir = Pathname.new('~/.homesick/repos').expand_path
homesick.clone "wfarr/dotfiles" homesick.clone "wfarr/dotfiles"
File.directory?("#{Pathname.new('~/.homesick/repos').expand_path}/wfarr_dotfiles").should == true File.directory?("#{repos_dir}/wfarr_dotfiles").should == true
end end
end end