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-1.0.4 spec/spec_helper.rb
terraspace-1.0.3 spec/spec_helper.rb
terraspace-1.0.2 spec/spec_helper.rb
terraspace-1.0.1 spec/spec_helper.rb
terraspace-1.0.0 spec/spec_helper.rb
terraspace-0.7.2 spec/spec_helper.rb
terraspace-0.7.1 spec/spec_helper.rb
terraspace-0.7.0 spec/spec_helper.rb
terraspace-0.6.23 spec/spec_helper.rb
terraspace-0.6.22 spec/spec_helper.rb
terraspace-0.6.21 spec/spec_helper.rb
terraspace-0.6.20 spec/spec_helper.rb
terraspace-0.6.19 spec/spec_helper.rb
terraspace-0.6.18 spec/spec_helper.rb
terraspace-0.6.17 spec/spec_helper.rb
terraspace-0.6.16 spec/spec_helper.rb
terraspace-0.6.15 spec/spec_helper.rb
terraspace-0.6.13 spec/spec_helper.rb
terraspace-0.6.12 spec/spec_helper.rb
terraspace-0.6.11 spec/spec_helper.rb