inspec/test/unit/resources
Steffanie Freeman 1a31425e81 Issue #46 Lazily load attributes in aws_iam_users (#89)
* Initial Commit

Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>

* aws_iam_user uses lazy loading

Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>

* Disassociates convert call from list_users

Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>

* A real-world working AwsIamUsers (#71)

* Add aws_iam_users

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Adding Filter table and Collect User Details to aws_iam_users.rb

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Adding Filter table and Collect User Details to aws_iam_users.rb

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Adding Filter table and Collect User Details to aws_iam_users.rb

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Get an aws_iam_users integration test to pass

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Fix RuboCop issues and tests

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* Improving code based on PR feedback

Signed-off-by: Chris Redekop <chris.redekop@d2l.com>

* AWS IAM Users unit tests work with new lazy loading feature

Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>

* Fixes tests

Signed-off-by: aduric <adnan.duric@d2l.com>

* Users should only hold the returned user references, transfering responsibility to each user to fetch any details

Signed-off-by: aduric <adnan.duric@d2l.com>

* Create user details provider class

Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>

* Using details provider factory to delegate creation of detail providers, and updates tests

Signed-off-by: aduric <adnan.duric@d2l.com>

* Rubocop fixes

Signed-off-by: aduric <adnan.duric@d2l.com>

* Rename user details provider factory to initializer, and remove unnecessary instance variables

Signed-off-by: sfreeman <Steffanie.Freeman@d2l.com>
2017-10-26 15:22:15 -04:00
..
aws_ec2_instance_test.rb rename file for aws_ec2 resource 2017-10-11 16:18:20 -04:00
aws_iam_access_key_test.rb Run linter on unit tests (#51) 2017-07-05 22:31:27 +02:00
aws_iam_password_policy_test.rb Run linter on unit tests (#51) 2017-07-05 22:31:27 +02:00
aws_iam_root_user_test.rb Add has_mfa_enabled? to aws_iam_root_account (#80) 2017-08-16 11:53:44 +02:00
aws_iam_user_details_provider_test.rb Issue #46 Lazily load attributes in aws_iam_users (#89) 2017-10-26 15:22:15 -04:00
aws_iam_user_provider_test.rb Issue #46 Lazily load attributes in aws_iam_users (#89) 2017-10-26 15:22:15 -04:00
aws_iam_user_test.rb Issue #46 Lazily load attributes in aws_iam_users (#89) 2017-10-26 15:22:15 -04:00
aws_iam_users_test.rb Issue #46 Lazily load attributes in aws_iam_users (#89) 2017-10-26 15:22:15 -04:00