Sha256: f89a98b7ab005d0f16b38d93c3be1387166629f1f8f50282d75bef47d49f564b

Contents?: true

Size: 761 Bytes

Versions: 3

Compression:

Stored size: 761 Bytes

Contents

# frozen_string_literal: true

require 'rspec/core'
require 'ruby_terraform'

require_relative 'terraform/version'
require_relative 'terraform/configuration'
require_relative 'terraform/matchers'
require_relative 'terraform/helpers'

# TODO
# ====
#
# * Logging
# * Test session
# * Before support in matchers
# * Reference support in matchers
# * Sensitive support in matchers
#

RSpec.configure do |config|
  config.include(RSpec::Terraform::Matchers)
  config.include(RSpec::Terraform::Helpers)

  config.add_setting(:terraform_binary, default: 'terraform')
  config.add_setting(:terraform_execution_mode, default: :in_place)
  config.add_setting(
    :terraform_configuration_provider,
    default: RSpec::Terraform::Configuration.identity_provider
  )
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspec-terraform-0.1.0.pre.36 lib/rspec/terraform.rb
rspec-terraform-0.1.0.pre.35 lib/rspec/terraform.rb
rspec-terraform-0.1.0.pre.34 lib/rspec/terraform.rb