Sha256: 2ebe4e3b12c4e5004996dc48563f87f794e0e989eceb79b234acdad6a1a8f788

Contents?: true

Size: 544 Bytes

Versions: 7

Compression:

Stored size: 544 Bytes

Contents

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

# 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/sonic"

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

7 entries across 7 versions & 1 rubygems

Version Path
sonic-screwdriver-1.4.0 spec/spec_helper.rb
sonic-screwdriver-1.3.2 spec/spec_helper.rb
sonic-screwdriver-1.3.0 spec/spec_helper.rb
sonic-screwdriver-1.2.0 spec/spec_helper.rb
sonic-screwdriver-1.1.1 spec/spec_helper.rb
sonic-screwdriver-1.1.0 spec/spec_helper.rb
sonic-screwdriver-1.0.0 spec/spec_helper.rb