inspec/test/unit/mock/profiles
Steven Danna b2146d8758 Allow users to reference resources from dependencies
All resources from deps are added into the control_eval_context used by
the current profile. However, if there is a name conflict, the last
loaded resource wins. The new `require_resource` dsl method allows the
user to do the following:

    require_resource(profile: 'profile_name',
                     resource: 'other',
                    as: 'renamed')

    describe renamed do
      ...
    end

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-19 19:08:43 +02:00
..
complete-metadata Allow functional tests to pass on OSX 2016-08-26 15:25:59 +02:00
complete-profile add inspec source reader 2016-02-22 11:24:35 +01:00
dependencies Allow users to reference resources from dependencies 2016-09-19 19:08:43 +02:00
empty-metadata add profile tests (non-legacy) 2016-01-20 21:57:23 +01:00
failures fix inherited profile cli report 2016-09-04 18:28:01 +02:00
legacy-complete-metadata clearly identify legacy profile tests and fix identification 2016-01-19 15:48:06 +01:00
legacy-empty-metadata clearly identify legacy profile tests and fix identification 2016-01-19 15:48:06 +01:00
legacy-simple-metadata add profile tests (non-legacy) 2016-01-20 21:57:23 +01:00
library Allow functional tests to pass on OSX 2016-08-26 15:25:59 +02:00
profile-support-skip Skip controls from profile's that don't support the current platform 2016-09-14 09:57:53 +01:00
simple-inheritance fix inherited profile cli report 2016-09-04 18:28:01 +02:00
simple-metadata add profile tests (non-legacy) 2016-01-20 21:57:23 +01:00
skippy-profile-os Use only strings in resource examples, docs and tests 2016-05-03 23:27:18 +01:00
spec_only introduce cli report formatter 2016-06-15 17:11:29 +02:00
supermarket-dep Provide inspec.yml shortcut syntax 2016-09-14 08:46:06 +02:00
supported_inspec skip profiles if the platform isnt supported 2016-04-16 15:34:23 -04:00
unsupported_inspec skip profiles if the platform isnt supported 2016-04-16 15:34:23 -04:00
windows-only Skip controls from profile's that don't support the current platform 2016-09-14 09:57:53 +01:00