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-1.6.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.5.4 lib/awspec/matcher/have_key_policy.rb
awspec-1.5.3 lib/awspec/matcher/have_key_policy.rb
awspec-1.5.2 lib/awspec/matcher/have_key_policy.rb
awspec-1.5.1 lib/awspec/matcher/have_key_policy.rb
awspec-1.5.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.4.3 lib/awspec/matcher/have_key_policy.rb
awspec-1.4.2 lib/awspec/matcher/have_key_policy.rb
awspec-1.4.1 lib/awspec/matcher/have_key_policy.rb
awspec-1.4.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.3.1 lib/awspec/matcher/have_key_policy.rb
awspec-1.3.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.2.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.1.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.0.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.0.0.rc lib/awspec/matcher/have_key_policy.rb
awspec-0.88.2 lib/awspec/matcher/have_key_policy.rb
awspec-0.88.1 lib/awspec/matcher/have_key_policy.rb
awspec-0.88.0 lib/awspec/matcher/have_key_policy.rb
awspec-0.87.1 lib/awspec/matcher/have_key_policy.rb