diff options
author | John Keiser <john@johnkeiser.com> | 2015-05-07 14:55:28 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-05-13 13:43:15 -0700 |
commit | 3f04e9ea39d7ca332de9349d423db30863fc7dfa (patch) | |
tree | f7da7453452b329e5292996c9541a816e4724e0c /spec/data | |
parent | 27c57238f1f2fddc7d03dad818a6b7ee78cbff96 (diff) | |
download | chef-3f04e9ea39d7ca332de9349d423db30863fc7dfa.tar.gz |
Convert "override LWRP" spec to one explicit check, be absolutely
sure it didn't load by creating a global module inside the LWRP
and checking it outside
Diffstat (limited to 'spec/data')
-rw-r--r-- | spec/data/lwrp_override/resources/foo.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/data/lwrp_override/resources/foo.rb b/spec/data/lwrp_override/resources/foo.rb index 14decb9634..2fc13d32fd 100644 --- a/spec/data/lwrp_override/resources/foo.rb +++ b/spec/data/lwrp_override/resources/foo.rb @@ -3,3 +3,8 @@ actions :never_execute attribute :ever, :kind_of => String + +class ::Chef + def method_created_by_override_lwrp_foo + end +end |