inspec/test/unit/profiles
Ryan Davis 89a0b44c64 Refactored and moved Resource.create_dsl to ProfileContext.
ProfileContext#to_resources_dsl is the only usage of it.
The responsibility for this code should be on ProfileContext.

Refactored a majority of #create_dsl to be a 2-line long Module.new
instead of 36 lines. Much less magic. Still has an anonymous module
but it is now much easier to address and debug.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2020-02-03 14:41:37 -08:00
..
control_eval_context_test.rb Refactored and moved Resource.create_dsl to ProfileContext. 2020-02-03 14:41:37 -08:00
library_eval_context_test.rb Minor test improvements 2020-02-03 13:18:56 -08:00
metadata_test.rb Switched chefstyle back to Layout/AlignArguments=with_first_argument. 2019-11-08 12:57:43 -08:00
profile_context_test.rb Add test for LEC to expose second-level libraries require. 2020-02-03 13:18:56 -08:00
profile_resource_exceptions_test.rb Completely refactored profile_resource_exceptions_test.rb 2020-02-03 13:18:56 -08:00
profile_test.rb oops 2019-12-24 04:11:17 -08:00