summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-07-13 12:57:33 -0700
committerPete Higgins <pete@peterhiggins.org>2020-07-13 12:57:33 -0700
commit9ef28e3f4e145878ef5a5a181a563fb9893df0fc (patch)
tree90f4b4a57791675efe7f9c842219036138a7a556
parent04eac6a86e51d71cdbfbe163ebb70a887c1c9ddb (diff)
downloadchef-9ef28e3f4e145878ef5a5a181a563fb9893df0fc.tar.gz
Don't run the dnf test that Windows doesn't like on Windows.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-rw-r--r--spec/unit/provider/package/dnf/python_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/package/dnf/python_helper_spec.rb b/spec/unit/provider/package/dnf/python_helper_spec.rb
index c22e0f6bee..1f94147273 100644
--- a/spec/unit/provider/package/dnf/python_helper_spec.rb
+++ b/spec/unit/provider/package/dnf/python_helper_spec.rb
@@ -22,7 +22,7 @@ require "spec_helper"
describe Chef::Provider::Package::Dnf::PythonHelper do
let(:helper) { Chef::Provider::Package::Dnf::PythonHelper.instance }
- it "propagates stacktraces on stderr from the forked subprocess" do
+ it "propagates stacktraces on stderr from the forked subprocess", :rhel do
allow(helper).to receive(:dnf_command).and_return("ruby -e 'raise \"your hands in the air\"'")
expect { helper.package_query(:whatprovides, "tcpdump") }.to raise_error(/your hands in the air/)
end