Sha256: 2f1c8702e1962271b062891d281c31332b0cb9f8e531d156c2089a2222fe13a1
Contents?: true
Size: 501 Bytes
Versions: 5
Compression:
Stored size: 501 Bytes
Contents
ENV["TEST"] = "1" ENV["AWS_RDS_ENV"] = "test" ENV["AWS_RDS_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-rds" 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
aws-rds-0.6.0 | spec/spec_helper.rb |
aws-rds-0.5.0 | spec/spec_helper.rb |
aws-rds-0.4.0 | spec/spec_helper.rb |
aws-rds-0.3.0 | spec/spec_helper.rb |
aws-rds-0.2.0 | spec/spec_helper.rb |