Miah Johnson
640d122327
Update Inspec::Config.mock in collector global methods
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 22:37:43 -07:00
Miah Johnson
0b9833dd96
condense true/false enabled tests
...
Because of the way the test system loads I cannot guarantee that
`Inspec::Config.cached` won't be nil. I have to always pass in a mock
config object with our setting.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 19:06:38 -07:00
Miah Johnson
b51ad8acb8
When telemetry is disabled Inspec.record_telemetry_data doesn't record
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-03 16:13:45 -07:00
Miah Johnson
ac2d782266
Pass in mock config object to tests and validate telemetry_enabled?
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-03 16:07:24 -07:00
Miah Johnson
5adf33469a
improve testing for DataSeries#to_h and DataSeries#to_json
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 12:22:29 -07:00
Miah Johnson
55ea2d984c
Not sure how to make this not dependant on list_data_series to prove its
...
functionality.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 12:17:59 -07:00
Miah Johnson
3c6db15124
improve tests for Collector#list_data_series
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 11:47:42 -07:00
Miah Johnson
ac78feb090
Remove list_data_series_by_name
.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-11 00:41:09 -07:00
Miah Johnson
56a5c80bf5
Rebuild the core telemetry interface.
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-09 16:58:40 -07:00