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.25.1 lib/awspec/matcher/have_key_policy.rb
awspec-1.25.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.24.4 lib/awspec/matcher/have_key_policy.rb
awspec-1.24.3 lib/awspec/matcher/have_key_policy.rb
awspec-1.24.2 lib/awspec/matcher/have_key_policy.rb
awspec-1.24.1 lib/awspec/matcher/have_key_policy.rb
awspec-1.24.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.23.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.22.1 lib/awspec/matcher/have_key_policy.rb
awspec-1.22.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.21.1 lib/awspec/matcher/have_key_policy.rb
awspec-1.21.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.20.0 lib/awspec/matcher/have_key_policy.rb
awspec-1.19.2 lib/awspec/matcher/have_key_policy.rb
awspec-1.19.1 lib/awspec/matcher/have_key_policy.rb
awspec-1.19.0 lib/awspec/matcher/have_key_policy.rb
cthiesfork-awspec-1.2.4 lib/awspec/matcher/have_key_policy.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/matcher/have_key_policy.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/matcher/have_key_policy.rb
awspec-1.18.6 lib/awspec/matcher/have_key_policy.rb