Merge pull request #125 from JCook21/master

Updated to use Rspec 3.1
This commit is contained in:
Jeremy Cook
2014-10-01 21:37:44 -04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ gem "thor", ">= 0.14.0"
# Include everything needed to run rake, tests, features, etc. # Include everything needed to run rake, tests, features, etc.
group :development do group :development do
gem "rake", ">= 0.8.7" gem "rake", ">= 0.8.7"
gem "rspec", "~> 2.10" gem "rspec", "~> 3.1.0"
gem "guard" gem "guard"
gem "guard-rspec" gem "guard-rspec"
gem "rb-readline", "~> 0.5.0" gem "rb-readline", "~> 0.5.0"

View File

@@ -76,7 +76,7 @@ describe Homesick::CLI do
homesick.clone "file://#{bare_repo}" homesick.clone "file://#{bare_repo}"
end end
expect(File.directory?(File.join(home.to_s, '.homesick/repos/dotfiles'))) expect(File.directory?(File.join(home.to_s, '.homesick/repos/dotfiles')))
.to be_true .to be_truthy
end end
it 'clones git repo like git://host/path/to.git' do it 'clones git repo like git://host/path/to.git' do