test/stats_test.rb in fastly-1.14.0 vs test/stats_test.rb in fastly-1.15.0
- old
+ new
@@ -28,9 +28,14 @@
# just that requests to stats work
assert(usage)
assert(usage['meta'])
assert_equal 'success', usage['status']
+ usage = @fastly.usage(:from => FROM, :by_month => 1)
+ assert(usage)
+ assert(usage['meta'])
+ assert_equal 'success', usage['status']
+
usage = @fastly.usage(:from => FROM, :by_service => 1)
assert(usage)
assert(usage['meta'])
assert_equal 'success', usage['status']
end