Sha256: f7f76cd0ceb08f20e123fc5ac09429841c9002ac34e843379edecb97874aaab6

Contents?: true

Size: 375 Bytes

Versions: 8

Compression:

Stored size: 375 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 'cluster', :cluster do
  before do |example|
    example.metadata[:described_class].cluster = example.metadata[:cluster]
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
awspec-0.69.1 lib/awspec/shared_context.rb
awspec-0.69.0 lib/awspec/shared_context.rb
awspec-0.68.0 lib/awspec/shared_context.rb
awspec-0.67.1 lib/awspec/shared_context.rb
awspec-0.67.0 lib/awspec/shared_context.rb
awspec-0.66.2 lib/awspec/shared_context.rb
awspec-0.66.1 lib/awspec/shared_context.rb
awspec-0.66.0 lib/awspec/shared_context.rb