lib/rspec/terraform/helpers/plan.rb in rspec-terraform-0.1.0.pre.46 vs lib/rspec/terraform/helpers/plan.rb in rspec-terraform-0.1.0.pre.47

- old
+ new

@@ -1,16 +1,20 @@ # frozen_string_literal: true -require 'ruby_terraform' -require 'securerandom' -require 'stringio' - require_relative './base' +require_relative './actions' module RSpec module Terraform module Helpers class Plan < Base + include Actions::Validate + include Actions::Clean + include Actions::Init + include Actions::Plan + include Actions::Show + include Actions::Remove + def execute(overrides = {}, &block) parameters = resolve_parameters(overrides, &block) validate(parameters) clean(parameters)