diff options
author | danielsdeleo <dan@opscode.com> | 2013-04-23 14:27:02 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-04-23 14:27:02 -0700 |
commit | 5f3942e73de403006b8448b992a7f6c8aab2d15a (patch) | |
tree | dea752e38552dc0880af88881762322e380ad4f0 /spec/data | |
parent | a81d760fffcc798ffbfab733ffaa6ec51990e463 (diff) | |
download | chef-5f3942e73de403006b8448b992a7f6c8aab2d15a.tar.gz |
[CHEF-4117] fix resource attempting to remove constants it doesn't have
Module.const_defined?() needs to be given an optional second argument to
disable constant lookups on ancestor classes. Otherwise LWRP creation
may attempt to remove a constant that does not exist.
Diffstat (limited to 'spec/data')
-rw-r--r-- | spec/data/lwrp_const_scoping/resources/conflict.rb | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/spec/data/lwrp_const_scoping/resources/conflict.rb b/spec/data/lwrp_const_scoping/resources/conflict.rb new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/spec/data/lwrp_const_scoping/resources/conflict.rb |