summaryrefslogtreecommitdiff
path: root/spec/unit/provider/package/dnf/python_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/package/dnf/python_helper_spec.rb')
-rw-r--r--spec/unit/provider/package/dnf/python_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/package/dnf/python_helper_spec.rb b/spec/unit/provider/package/dnf/python_helper_spec.rb
index 505217bf90..a7873bf1f8 100644
--- a/spec/unit/provider/package/dnf/python_helper_spec.rb
+++ b/spec/unit/provider/package/dnf/python_helper_spec.rb
@@ -1,5 +1,5 @@
#
-# Copyright:: Copyright 2017-2017, Chef Software Inc.
+# Copyright:: Copyright 2017-2020, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -24,6 +24,6 @@ describe Chef::Provider::Package::Dnf::PythonHelper do
it "propagates stacktraces on stderr from the forked subprocess" do
allow(helper).to receive(:dnf_command).and_return("ruby -e 'raise \"your hands in the air\"'")
- expect { helper.query(:whatprovides, "tcpdump") }.to raise_error(/your hands in the air/)
+ expect { helper.package_query(:whatprovides, "tcpdump") }.to raise_error(/your hands in the air/)
end
end