summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-07-19 15:41:00 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-07-19 15:41:00 -0700
commit98008c673829d3dd361cc8f0a59dbe51e4a19f9d (patch)
treee61dc450b3d77fca468ca8ef5eafb57cefd3748f /spec/support
parentbad96f846718685302fec9e627471b68cd9bab8f (diff)
downloadchef-98008c673829d3dd361cc8f0a59dbe51e4a19f9d.tar.gz
fix the spec filter
these platform filters really need some serious cleanup along the lines of the ruby version cleanup that i did, the number of these helpers is getting rediculous...
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/shared/unit/provider/file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/unit/provider/file.rb b/spec/support/shared/unit/provider/file.rb
index 9f84111eac..ee3438da70 100644
--- a/spec/support/shared/unit/provider/file.rb
+++ b/spec/support/shared/unit/provider/file.rb
@@ -700,7 +700,7 @@ shared_examples_for Chef::Provider::File do
provider.send(:do_resolv_conf_fixup)
end
end
- context "when managing /etc/resolv.conf", linux_only: false do
+ context "when managing /etc/resolv.conf", non_linux_only: true do
let(:resource_path) { "/etc/resolv.conf" }
it "does not reload the nameservers on non-linux" do
expect(Resolv::DefaultResolver).not_to receive(:replace_resolvers)