Sha256: 4553ba20d8aac8f8417d22ad5597982b0510e0f4b88f3ba59ef6273f8be73ccc

Contents?: true

Size: 219 Bytes

Versions: 174

Compression:

Stored size: 219 Bytes

Contents

RSpec::Matchers.define :have_inline_policy do |policy_name|
  match do |iam_type|
    iam_type.has_inline_policy?(policy_name, @document)
  end

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

Version data entries

174 entries across 174 versions & 4 rubygems

Version Path
awspec-0.42.0 lib/awspec/matcher/have_inline_policy.rb
awspec-0.41.0 lib/awspec/matcher/have_inline_policy.rb
awspec-0.40.0 lib/awspec/matcher/have_inline_policy.rb
awspec-0.39.0 lib/awspec/matcher/have_inline_policy.rb
awspec-0.38.0 lib/awspec/matcher/have_inline_policy.rb
awspec-0.37.8 lib/awspec/matcher/have_inline_policy.rb
awspec-0.37.7 lib/awspec/matcher/have_inline_policy.rb
awspec-0.37.6 lib/awspec/matcher/have_inline_policy.rb
awspec-0.37.5 lib/awspec/matcher/have_inline_policy.rb
awspec-0.37.4 lib/awspec/matcher/have_inline_policy.rb
awspec-0.37.3 lib/awspec/matcher/have_inline_policy.rb
awspec-0.37.2 lib/awspec/matcher/have_inline_policy.rb
awspec-0.37.1 lib/awspec/matcher/have_inline_policy.rb
awspec-0.37.0 lib/awspec/matcher/have_inline_policy.rb