Sha256: 4027557a45e5e2fb1602157f2d0ca3f7c8dff913885355d9d0053b254b1801d6
Contents?: true
Size: 671 Bytes
Versions: 5
Compression:
Stored size: 671 Bytes
Contents
ENV['TEST'] = '1' # Ensures aws api never called. Fixture home folder does not contain ~/.aws/credentails ENV['HOME'] = "spec/fixtures/home" require "pp" require "byebug" root = File.expand_path('../../', __FILE__) require "#{root}/lib/ufo" module Helpers def execute(cmd) puts "Running: #{cmd.colorize(:magenta)}" if ENV['DEBUG'] out = `#{cmd}` puts out if ENV['DEBUG'] out end def create_starter_project_fixture FileUtils.rm_rf("spec/fixtures/hi") execute("bin/ufo init --cluster prod --image tongueroo/hi --project-root spec/fixtures/hi --app hi") end end RSpec.configure do |c| c.include Helpers c.before(:each) do end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ufo-2.0.3 | spec/spec_helper.rb |
ufo-2.0.2 | spec/spec_helper.rb |
ufo-2.0.1 | spec/spec_helper.rb |
ufo-1.5.0 | spec/spec_helper.rb |
ufo-1.2.0 | spec/spec_helper.rb |