Sha256: 474de9258cd6c04be9d3e739c11b302ce996954ef1954048a0bdbe06bb614978
Contents?: true
Size: 1.43 KB
Versions: 7
Compression:
Stored size: 1.43 KB
Contents
When(/^I call the metric results of method with the results root id of the given processing$/) do @response = KalibroClient::Entities::Processor::ModuleResult.find(@response.root_module_result_id).metric_results end Given(/^I search a metric result with descendant values for the given metric result$/) do first_module_result = KalibroClient::Entities::Processor::ModuleResult.find(@response.root_module_result_id) metric_results = first_module_result.metric_results @response = metric_results.first.descendant_values end When(/^I call the history of method with the metric name and the results root id of the given processing$/) do @response = KalibroClient::Entities::Processor::MetricResult.history_of(@metric.name, @response.root_module_result_id, @repository.id) end Then (/^I should get a Float list$/) do expect(@response).to be_a(Array) expect(@response.first).to be_a(Float) end Then(/^I should get a list of metric results$/) do expect(@response).to be_a(Array) expect(@response.first).to be_a(KalibroClient::Entities::Processor::MetricResult) end Then(/^I should get a list of date metric results$/) do expect(@response).to be_a(Array) expect(@response.first).to be_a(KalibroClient::Entities::Miscellaneous::DateMetricResult) end Then(/^the first metric result should have a metric configuration$/) do expect(@response.first.metric_configuration).to be_a(KalibroClient::Entities::Configurations::MetricConfiguration) end
Version data entries
7 entries across 7 versions & 1 rubygems