spec/cli/install_spec.rb in hanzo-1.0.2 vs spec/cli/install_spec.rb in hanzo-1.1.0
- old
+ new
@@ -44,10 +44,10 @@
expect(Hanzo::Installers::Remotes).to receive(:environments).and_return(heroku_remotes)
heroku_remotes.each do |env, app|
expect(Hanzo).to receive(:print).with("Adding #{env}")
expect(Hanzo).to receive(:run).with("git remote rm #{env} 2>&1 > /dev/null")
- expect(Hanzo).to receive(:run).with("git remote add #{env} git@heroku.com:#{app}.git")
+ expect(Hanzo).to receive(:run).with("git remote add #{env} https://git.heroku.com/#{app}.git")
end
end
it 'should install git remotes' do
install!