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