summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@chef.io>2016-11-03 20:25:23 -0700
committerdanielsdeleo <dan@chef.io>2016-11-03 22:40:30 -0700
commitf3a2fbda250418cbe1c94ad73a45e77eb1a24c38 (patch)
treeba47132b86549b3e8d8c5263d2009ce6c7802b98
parent236d95796974420742ca9ffdc999130c3812c3ae (diff)
downloadchef-f3a2fbda250418cbe1c94ad73a45e77eb1a24c38.tar.gz
Add `deprecations` to data collector expected fieldsfix-data-collector-acceptance
Signed-off-by: Daniel DeLeo <dan@chef.io>
-rw-r--r--acceptance/data-collector/test/integration/default/serverspec/default_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb b/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb
index 25ac1c0a33..59c1f8d21b 100644
--- a/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb
+++ b/acceptance/data-collector/test/integration/default/serverspec/default_spec.rb
@@ -60,7 +60,7 @@ end
shared_examples_for "counter checks" do |counters_to_check|
counters_to_check.each do |counter, value|
- it "counter #{counter} should equal #{value}" do
+ it "counter #{counter} should equal #{value.inspect}" do
counter_values = JSON.load(command("curl http://localhost:9292/counters").stdout)
expect(counter_values[counter]).to eq(value)
end
@@ -116,6 +116,7 @@ shared_examples_for "run_converge.success payload check" do
status
total_resource_count
updated_resource_count
+ deprecations
}
end
let(:optional_fields) { [] }
@@ -152,6 +153,7 @@ shared_examples_for "run_converge.failure payload check" do
status
total_resource_count
updated_resource_count
+ deprecations
}
end
let(:optional_fields) { [] }