Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Enable feature test for subgroup collect
Browse files Browse the repository at this point in the history
  • Loading branch information
robyoung committed Sep 2, 2013
1 parent d93e57d commit 7c8a2ce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions features/read_api/collect.feature
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,12 @@ Feature: collect fields into grouped responses
and the "1st" result should have "value:sum" with json "27"
and the "1st" result should have "value:mean" with json "6.75"

@wip
Scenario: should be able to perform maths on sub groups
Given "evl_volumetrics.json" is in "foo" bucket
when I go to "/foo?period=month&group_by=channel&collect=volume:sum"
then I should get back a status of "200"
and the "1st" result should have "volume:sum" with json "92595.0"
and the "1st" result should have a sub group with "volume:sum" with json "95295.0"
and the "1st" result should have "volume:sum" with json "1862526.0"
and the "1st" result should have a sub group with "volume:sum" with json "1862526.0"

Scenario: should receive a nice error when performing invalid operation
Given "dinosaurs.json" is in "foo" bucket
Expand Down

0 comments on commit 7c8a2ce

Please sign in to comment.