Sha256: 5ddd8dca1f0c9cec2d0f1279593c23f6ac6e187d2d3e03ed659d6612da13f4f5
Contents?: true
Size: 748 Bytes
Versions: 16
Compression:
Stored size: 748 Bytes
Contents
require 'spec_helper' feature 'Heroku' do scenario 'Suspend a project with --heroku=true' do run_suspenders('--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 = SuspendersTestHelpers::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
16 entries across 16 versions & 4 rubygems