summaryrefslogtreecommitdiff
path: root/spec/unit/resource_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource_spec.rb')
-rw-r--r--spec/unit/resource_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource_spec.rb b/spec/unit/resource_spec.rb
index b8c1a031e2..963c3eb658 100644
--- a/spec/unit/resource_spec.rb
+++ b/spec/unit/resource_spec.rb
@@ -931,14 +931,14 @@ describe Chef::Resource do
it "adds mappings for all platforms", ruby: "< 2.7" do
expect(Chef.resource_handler_map).to receive(:set).with(
- :tape_deck, Chef::Resource::Klz, {}
+ :tape_deck, Chef::Resource::Klz
)
klz.provides :tape_deck
end
it "adds mappings for all platforms", ruby: ">= 2.7" do
expect(Chef.resource_handler_map).to receive(:set).with(
- :tape_deck, Chef::Resource::Klz
+ :tape_deck, Chef::Resource::Klz, {}
)
klz.provides :tape_deck
end