summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-02-08 10:25:14 -0800
committerTom Duffield <tom@chef.io>2017-02-08 16:59:38 -0600
commit8278a357e3aeaf4b58bc88fcfbdd48e27c0ff944 (patch)
treef2c23a5ba5c2532b795b2dd9fcf2e96c2d1dae17 /spec
parent76d435b6c2e4b8886da7c05121f54807b9e685bf (diff)
downloadchef-8278a357e3aeaf4b58bc88fcfbdd48e27c0ff944.tar.gz
sanitize utf8 data going to serverlcg/data-collector-utf8
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org> Signed-off-by: Tom Duffield <tom@chef.io>
Diffstat (limited to 'spec')
-rw-r--r--spec/support/shared/context/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/context/client.rb b/spec/support/shared/context/client.rb
index 295bd6ce5f..c65650e6b1 100644
--- a/spec/support/shared/context/client.rb
+++ b/spec/support/shared/context/client.rb
@@ -95,7 +95,7 @@ shared_context "a client run" do
def stub_for_data_collector_init
expect(Chef::ServerAPI).to receive(:new).
- with(Chef::Config[:data_collector][:server_url]).
+ with(Chef::Config[:data_collector][:server_url], validate_utf8: false).
exactly(:once).
and_return(http_data_collector)
end