k1LoW / awspec

RSpec tests for your AWS resources.
MIT License
1.17k stars 193 forks source link

Support for testing absence of inline policies #449

Closed tatsuyafw closed 5 years ago

tatsuyafw commented 5 years ago

Fixes #222 .

Hi!

This PR enables awspec users to test absence of inline policies as below:

describe iam_user('my-iam-user') do
  it { should_not have_inline_policy }
end

Also, this PR contains typo fix have_inline_group -> have_inline_policy in iam_group.md.

k1LoW commented 5 years ago

WOW @tatsuyafw !! Thank you for your commit !!

k1LoW commented 5 years ago

Released as v1.15.3.

tatsuyafw commented 5 years ago

@k1LoW

Thank you for merging!