Sha256: bba5b8426138f20b2309f4ead80891da351070261b42f07cfd98da435a34de3d
Contents?: true
Size: 501 Bytes
Versions: 12
Compression:
Stored size: 501 Bytes
Contents
ENV["TEST"] = "1" ENV["AWS_EC2_ENV"] = "test" ENV["AWS_EC2_ROOT"] = "spec/fixtures/demo_project" # Ensures aws api never called. Fixture home folder does not contain ~/.aws/credentails ENV['HOME'] = "spec/fixtures/home" require "pp" root = File.expand_path("../../", __FILE__) require "#{root}/lib/aws-ec2" module Helpers def execute(cmd) puts "Running: #{cmd}" if ENV["DEBUG"] out = `#{cmd}` puts out if ENV["DEBUG"] out end end RSpec.configure do |c| c.include Helpers end
Version data entries
12 entries across 12 versions & 1 rubygems