Sha256: ff477527d4b04d81e2f793ca7b07b23d691b9c6f893fe1ef725f646e8717ca96
Contents?: true
Size: 1004 Bytes
Versions: 42
Compression:
Stored size: 1004 Bytes
Contents
shared_context 'region', :region do before do |example| region = example.metadata[:region] @_region = Aws.config[:region] Aws.config[:region] = region end after do Aws.config[:region] = @_region end end shared_context 'account', :account do before do |example| sts_client = Aws::STS::Client.new raise Awspec::InvalidAccountError unless sts_client.get_caller_identity.account == example.metadata[:account] example.metadata[:described_class].account = example.metadata[:account] end end shared_context 'cluster', :cluster do before do |example| example.metadata[:described_class].cluster = example.metadata[:cluster] end end shared_context 'version', :version do before do |example| example.metadata[:described_class].version = example.metadata[:version] end end shared_context 'application_name', :application_name do before do |example| example.metadata[:described_class].application_name = example.metadata[:application_name] end end
Version data entries
42 entries across 42 versions & 3 rubygems