summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider.rb3
-rw-r--r--spec/unit/provider_spec.rb1
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb
index fb4ac9f659..20e90a648e 100644
--- a/lib/chef/provider.rb
+++ b/lib/chef/provider.rb
@@ -75,8 +75,7 @@ class Chef
#
# @return [void]
def self.use_inline_resources
- # Uncomment this in Chef 13.6.
- # Chef.deprecated(:use_inline_resources, "The use_inline_resources mode is no longer optional and the line enabling it can be removed")
+ Chef.deprecated(:use_inline_resources, "The use_inline_resources mode is no longer optional and the line enabling it can be removed")
end
# delegate to the resource
diff --git a/spec/unit/provider_spec.rb b/spec/unit/provider_spec.rb
index 496871614a..5ff29b3085 100644
--- a/spec/unit/provider_spec.rb
+++ b/spec/unit/provider_spec.rb
@@ -193,7 +193,6 @@ describe Chef::Provider do
context "when using use_inline_resources" do
it "should log a deprecation warning" do
- pending Chef::VERSION.start_with?("14.1")
expect(Chef).to receive(:deprecated).with(:use_inline_resources, kind_of(String))
Class.new(described_class) { use_inline_resources }
end