Commit f63c5c2493b0d9c793ba4cca25a5211733e57b05
1 parent
12d8d4fc
Exists in
colab
and in
4 other branches
Count is no longer supported as a aggregation form
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/helpers/metric_configurations_helper.rb
1 | 1 | module MetricConfigurationsHelper |
2 | 2 | def aggregation_options |
3 | 3 | [["Average","AVERAGE"], ["Median", "MEDIAN"], ["Maximum", "MAXIMUM"], ["Minimum", "MINIMUM"], |
4 | - ["Count", "COUNT"], ["Standard Deviation", "STANDARD_DEVIATION"]] | |
4 | + ["Standard Deviation", "STANDARD_DEVIATION"]] | |
5 | 5 | end |
6 | 6 | |
7 | 7 | def reading_group_options | ... | ... |
spec/helpers/metric_configurations_helper_spec.rb
... | ... | @@ -4,7 +4,7 @@ describe MetricConfigurationsHelper, :type => :helper do |
4 | 4 | describe 'aggregation_form_options' do |
5 | 5 | it 'should return an array with the supported aggregation forms' do |
6 | 6 | expect(helper.aggregation_options).to eq [["Average","AVERAGE"], ["Median", "MEDIAN"], ["Maximum", "MAXIMUM"], ["Minimum", "MINIMUM"], |
7 | - ["Count", "COUNT"], ["Standard Deviation", "STANDARD_DEVIATION"]] | |
7 | + ["Standard Deviation", "STANDARD_DEVIATION"]] | |
8 | 8 | end |
9 | 9 | end |
10 | 10 | ... | ... |