Sha256: ac50fe8977942df0565e4c5c0b2327a5ce8a1d3feddc51ae4aeded7a1344a47d

Contents?: true

Size: 213 Bytes

Versions: 146

Compression:

Stored size: 213 Bytes

Contents

RSpec::Matchers.define :have_key_policy do |policy_name|
  match do |key_type|
    key_type.has_key_policy?(policy_name, @document)
  end

  chain :policy_document do |document|
    @document = document
  end
end

Version data entries

146 entries across 146 versions & 4 rubygems

Version Path
awspec-0.57.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.57.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.56.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.56.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.55.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.54.0 lib/awspec/matcher/have_key_policy.rb