Sha256: 9dc9b62fd0860c18ad40ee3a25fe7be83d34e686f80cacef7542ced7da0f48fd
Contents?: true
Size: 748 Bytes
Versions: 1
Compression:
Stored size: 748 Bytes
Contents
require 'spec_helper' feature 'Heroku' do scenario 'Shoelaces a project with --heroku=true' do run_shoelaces('--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 = ShoelacesTestHelpers::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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoelaces-0.1.0 | spec/features/heroku_spec.rb |