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.79.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.79.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.78.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.77.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.77.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.76.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.76.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.75.2 lib/awspec/matcher/have_key_policy.rb
awspec-0.75.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.75.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.74.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.74.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.73.2 lib/awspec/matcher/have_key_policy.rb
awspec-0.73.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.73.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.72.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.71.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.70.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.69.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.69.0 lib/awspec/matcher/have_key_policy.rb