Sha256: 184f48468ba0ab5ed43a99a2f276db6d89ffdce497af8aedc662ada91b8deb0b

Contents?: true

Size: 691 Bytes

Versions: 104

Compression:

Stored size: 691 Bytes

Contents

ENV["TS_TEST"] = "1"

# CodeClimate test coverage: https://docs.codeclimate.com/docs/configuring-test-coverage
# require 'simplecov'
# SimpleCov.start

require "pp"
require "byebug"
root = File.expand_path("../", File.dirname(__FILE__))

# require plugins so Terraspace::Plugin.meta is populated
require "terraspace_plugin_aws"
require "terraspace_plugin_azurerm"
require "terraspace_plugin_google"
require "#{root}/lib/terraspace"

module Helper
  def execute(cmd)
    puts "Running: #{cmd}" if ENV['SHOW_COMMAND']
    out = `#{cmd}`
    puts out if ENV['SHOW_COMMAND']
    out
  end

  def fixture(path)
    "spec/fixtures/#{path}"
  end
end

RSpec.configure do |c|
  c.include Helper
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
terraspace-2.2.17 spec/spec_helper.rb
terraspace-2.2.16 spec/spec_helper.rb
terraspace-2.2.15 spec/spec_helper.rb
terraspace-2.2.14 spec/spec_helper.rb
terraspace-2.2.13 spec/spec_helper.rb
terraspace-2.2.12 spec/spec_helper.rb
terraspace-2.2.11 spec/spec_helper.rb
terraspace-2.2.10 spec/spec_helper.rb
terraspace-2.2.9 spec/spec_helper.rb
terraspace-2.2.8 spec/spec_helper.rb
terraspace-2.2.7 spec/spec_helper.rb
terraspace-2.2.6 spec/spec_helper.rb
terraspace-2.2.5 spec/spec_helper.rb
terraspace-2.2.4 spec/spec_helper.rb
terraspace-2.2.3 spec/spec_helper.rb
terraspace-2.2.2 spec/spec_helper.rb
terraspace-2.2.1 spec/spec_helper.rb
terraspace-2.2.0 spec/spec_helper.rb
terraspace-2.1.7 spec/spec_helper.rb
terraspace-2.1.6 spec/spec_helper.rb