From 39652513de758bc1205395f57d9cd0b7c62eca29 Mon Sep 17 00:00:00 2001 From: Will Farrington Date: Thu, 4 Mar 2010 01:40:17 -0500 Subject: [PATCH] Let's obey the column 80 rule. --- spec/homesick/homesick_spec.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/spec/homesick/homesick_spec.rb b/spec/homesick/homesick_spec.rb index b31412a..1ae6549 100644 --- a/spec/homesick/homesick_spec.rb +++ b/spec/homesick/homesick_spec.rb @@ -1,15 +1,17 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe "Homesick" do - it "should clone a git repo" do + it "should clone any git repo" do homesick = Homesick.new + repos_dir = Pathname.new('~/.homesick/repos').expand_path 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 - it "should clone the github repo" do + it "should clone a github repo" do homesick = Homesick.new + repos_dir = Pathname.new('~/.homesick/repos').expand_path 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