Sha256: e02ca038aeebf4242ea8993329926712f9655311e7f8089022f3ccc7a133a034

Contents?: true

Size: 469 Bytes

Versions: 3

Compression:

Stored size: 469 Bytes

Contents

ENV["TEST"] = "1"
# Ensures aws api never called. Fixture home folder does not contain ~/.aws/credentails
ENV['HOME'] = "spec/fixtures/home"

# require "simplecov"
# SimpleCov.start

require "pp"

root = File.expand_path("../../", __FILE__)
require "#{root}/lib/aws-inventory"

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

3 entries across 3 versions & 1 rubygems

Version Path
aws-inventory-0.4.5 spec/spec_helper.rb
aws-inventory-0.4.3 spec/spec_helper.rb
aws-inventory-0.4.2 spec/spec_helper.rb