Sha256: be5f7c4d733f7fee5c83191dd731a6f5e66171583ae5b40e8b87634e0ed91d3c
Contents?: true
Size: 656 Bytes
Versions: 4
Compression:
Stored size: 656 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 --app hi --image tongueroo/hi --project-root spec/fixtures/hi") end end RSpec.configure do |c| c.include Helpers c.before(:each) do end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ufo-2.2.2 | spec/spec_helper.rb |
ufo-2.2.1 | spec/spec_helper.rb |
ufo-2.2.0 | spec/spec_helper.rb |
ufo-2.1.0 | spec/spec_helper.rb |