diff options
author | John Keiser <john@johnkeiser.com> | 2015-05-06 16:17:53 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-06-02 09:53:39 -0700 |
commit | 9fae7c1c1cf6f75834e309692a6b45dcbab11de1 (patch) | |
tree | af3af923d962956f687cd69447dffc5d607742fd /lib/chef/provider.rb | |
parent | ea5c98fd538dd07d3dd98ab2cf01f6e99c0fe31c (diff) | |
download | chef-9fae7c1c1cf6f75834e309692a6b45dcbab11de1.tar.gz |
Fix resource unit test
Diffstat (limited to 'lib/chef/provider.rb')
-rw-r--r-- | lib/chef/provider.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb index 984ad0974a..8027e39a3f 100644 --- a/lib/chef/provider.rb +++ b/lib/chef/provider.rb @@ -176,8 +176,7 @@ class Chef end def self.provides(short_name, opts={}, &block) - priority_map = Chef::Platform::ProviderPriorityMap.instance - priority_map.priority(short_name, self, opts, &block) + Chef.set_provider_priority_array(short_name, self, opts, &block) end def self.provides?(node, resource) |