Sha256: f0518134d06a67d7fcf5a96a82eb39b862c57e52696dec70d86c3c9d30a8acb5

Contents?: true

Size: 465 Bytes

Versions: 5

Compression:

Stored size: 465 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/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

5 entries across 5 versions & 1 rubygems

Version Path
aws-inventory-0.3.2 spec/spec_helper.rb
aws-inventory-0.3.1 spec/spec_helper.rb
aws-inventory-0.3.0 spec/spec_helper.rb
aws-inventory-0.2.1 spec/spec_helper.rb
aws-inventory-0.2.0 spec/spec_helper.rb