diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-07-13 12:57:33 -0700 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-07-13 12:57:33 -0700 |
commit | 9ef28e3f4e145878ef5a5a181a563fb9893df0fc (patch) | |
tree | 90f4b4a57791675efe7f9c842219036138a7a556 | |
parent | 04eac6a86e51d71cdbfbe163ebb70a887c1c9ddb (diff) | |
download | chef-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.rb | 2 |
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 |