Sha256: 7cc20b5d7109456f262057849efca002301d808e2715a388efa1facbbadb265d
Contents?: true
Size: 904 Bytes
Versions: 13
Compression:
Stored size: 904 Bytes
Contents
# frozen_string_literal: true require_relative './matchers/include_resource_change' module RSpec module Terraform module Matchers def include_resource_change(definition = {}) IncludeResourceChange.new(definition) end def include_resource_creation(definition = {}) include_resource_change(definition.merge(create?: true)) end def include_resource_read(definition = {}) include_resource_change(definition.merge(read?: true)) end def include_resource_update(definition = {}) include_resource_change(definition.merge(update?: true)) end def include_resource_replacement(definition = {}) include_resource_change(definition.merge(replace?: true)) end def include_resource_deletion(definition = {}) include_resource_change(definition.merge(delete?: true)) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems