Sha256: ef6d7c1541fb9cdcb494c9bac726d72a9132a49a318ab7120df0d1454d3a72bb
Contents?: true
Size: 746 Bytes
Versions: 5
Compression:
Stored size: 746 Bytes
Contents
require 'spec_helper' feature 'Heroku' do scenario 'Suspend a project with --heroku=true' do run_jumpstart('--heroku=true') expect(FakeHeroku).to have_gem_included(project_path, 'rails_12factor') expect(FakeHeroku).to have_created_app_for('staging') expect(FakeHeroku).to have_created_app_for('production') expect(FakeHeroku).to have_configured_vars('staging', 'SECRET_KEY_BASE') expect(FakeHeroku).to have_configured_vars('production', 'SECRET_KEY_BASE') bin_setup = IO.read("#{project_path}/bin/setup") app_name = JumpstartTestHelpers::APP_NAME expect(bin_setup).to include("heroku join --app #{app_name}-staging") expect(bin_setup).to include("heroku join --app #{app_name}-production") end end
Version data entries
5 entries across 5 versions & 1 rubygems