Merge branch 'named_castles' of https://github.com/rweng/homesick into rweng-named_castles

This commit is contained in:
Jeremy Cook
2015-10-14 22:30:46 -04:00
2 changed files with 15 additions and 6 deletions

View File

@@ -155,6 +155,14 @@ describe Homesick::CLI do
homesick.clone 'wfarr/dotfiles'
end
it 'accepts a destination', :focus do
expect(homesick).to receive(:git_clone)
.with('https://github.com/wfarr/dotfiles.git',
destination: Pathname.new('other-name'))
homesick.clone 'wfarr/dotfiles', 'other-name'
end
end
describe 'rc' do