Update usage example

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>
This commit is contained in:
Chris Redekop 2017-04-05 09:46:11 +00:00 committed by Christoph Hartmann
parent e0dfbad730
commit 44e15b85f9

View file

@ -3,7 +3,7 @@ class AwsIamAccessKey < Inspec.resource(1)
name 'aws_iam_access_key'
desc 'Verifies settings for AWS IAM access keys'
example "
describe aws_iam_access_key('access-key id') do
describe aws_iam_access_key(username: 'username', id: 'access-key id') do
its('last_use') { should be > Time.now - 90 * 86400 }
end
"