spec/features/heroku_spec.rb in slining-1.2.0 vs spec/features/heroku_spec.rb in slining-1.3.0
- old
+ new
@@ -24,9 +24,10 @@
bin_setup_path = "#{project_path}/bin/setup"
bin_setup = IO.read(bin_setup_path)
expect(bin_setup).to include("heroku join --app #{app_name}-production")
expect(bin_setup).to include("heroku join --app #{app_name}-staging")
+ expect(bin_setup).to include("git config heroku.remote staging")
expect(File.stat(bin_setup_path)).to be_executable
bin_deploy_path = "#{project_path}/bin/deploy"
bin_deploy = IO.read(bin_deploy_path)