inspec/test/unit/mock/profiles/dependencies
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
..
inheritance Initial attempt at isolating resources between dependencies 2016-09-04 20:55:20 +02:00
profile_a Initial attempt at isolating resources between dependencies 2016-09-04 20:55:20 +02:00
profile_b Load all dependent libraries, even if include_context isn't called 2016-09-04 20:55:20 +02:00
profile_c Load all dependent libraries, even if include_context isn't called 2016-09-04 20:55:20 +02:00
profile_d Load all dependent libraries, even if include_context isn't called 2016-09-04 20:55:20 +02:00
resource-namespace Allow users to reference resources from dependencies 2016-09-19 19:08:43 +02:00