add option to pass in destination to homesick clone
This commit is contained in:
@@ -161,6 +161,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
|
||||
|
||||
Reference in New Issue
Block a user