summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-06-30 09:40:17 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-06-30 09:40:17 -0700
commit2b554c44b73f629a5425f94257d48229a04cc459 (patch)
tree6f1fb39047da81c88147a0319faf2984c6b68cbb /spec
parent27d8675ec1c80f1eb7ec57f7b6c854441bb395ee (diff)
downloadchef-2b554c44b73f629a5425f94257d48229a04cc459.tar.gz
Revert "Merge pull request #3603 from chef/jdm/lwrp-base"
This reverts commit 27d8675ec1c80f1eb7ec57f7b6c854441bb395ee, reversing changes made to 3501ba4020dc21377bc999e57e25eadb315ec783.
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/lwrp_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/unit/lwrp_spec.rb b/spec/unit/lwrp_spec.rb
index 7e2ed998b8..55df9cb8fa 100644
--- a/spec/unit/lwrp_spec.rb
+++ b/spec/unit/lwrp_spec.rb
@@ -177,16 +177,6 @@ describe "LWRP" do
end
end
- it "allows monkey patching of the lwrp through Chef::Resource" do
- monkey = Module.new do
- def issue_3607
- end
- end
- allow(Chef::Config).to receive(:[]).with(:treat_deprecation_warnings_as_errors).and_return(false)
- Chef::Resource::LwrpFoo.send(:include, monkey)
- expect { get_lwrp(:lwrp_foo).new("blah").issue_3607 }.not_to raise_error
- end
-
it "should load the resource into a properly-named class and emit a warning when it is initialized" do
expect { Chef::Resource::LwrpFoo.new('hi') }.to raise_error(Chef::Exceptions::DeprecatedFeatureError)
end