spec/cli/install_spec.rb in hanzo-0.4.5 vs spec/cli/install_spec.rb in hanzo-0.5
- old
+ new
@@ -37,11 +37,11 @@
let(:type) { 'remotes' }
let(:create_remotes_title) { 'Creating git remotes' }
before { expect(Hanzo).to receive(:title).with(create_remotes_title) }
- context '.heroku-remotes exists' do
+ context '.hanzo.yml exists' do
before do
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}")
@@ -53,10 +53,10 @@
it 'should install git remotes' do
install!
end
end
- context '.heroku-remotes file is missing' do
+ context '.hanzo.yml file is missing' do
before { expect(Hanzo).to receive(:print).twice }
it 'should display error message' do
expect { install! }.to raise_error SystemExit
end