diff options
author | Lamont Granquist <lamont@chef.io> | 2020-07-13 13:26:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 13:26:16 -0700 |
commit | 7f40603e78a644e6bf4ad94d3512a95c7d34aa67 (patch) | |
tree | 90f4b4a57791675efe7f9c842219036138a7a556 | |
parent | 04eac6a86e51d71cdbfbe163ebb70a887c1c9ddb (diff) | |
parent | 9ef28e3f4e145878ef5a5a181a563fb9893df0fc (diff) | |
download | chef-7f40603e78a644e6bf4ad94d3512a95c7d34aa67.tar.gz |
Merge pull request #10149 from chef/dont-run-dnf-test-on-windows
Don't run the dnf test that Windows doesn't like on Windows.
-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 |