spec/lib/tabs/metrics/value_spec.rb in tabs-0.8.0 vs spec/lib/tabs/metrics/value_spec.rb in tabs-0.8.1
- old
+ new
@@ -93,10 +93,9 @@
create_span(:years)
stats = metric.stats(now..(now + 7.years), :year)
expect(stats).to include({ "timestamp" => (now + 3.years), "count"=>1, "min"=>10, "max"=>10, "sum"=>10, "avg"=>10})
expect(stats).to include({ "timestamp" => (now + 6.years), "count"=>2, "min"=>15, "max"=>20, "sum"=>35, "avg"=>17})
end
-
end
describe ".drop!" do
before do