Sha256: b49ed54373d6ec478546239d041176d8e3b41abe8b1792976e14c301542b2a66
Contents?: true
Size: 367 Bytes
Versions: 5
Compression:
Stored size: 367 Bytes
Contents
require 'helper' class TestMeasurement < WasserstandTestCase def test_single konstanz_measurements = Waterway['BODENSEE'].levels['KONSTANZ'].measurements assert_equal(1, konstanz_measurements.size) assert_equal(Time.parse('2012-09-13 18:00:00 UTC'), konstanz_measurements.last.date) assert_equal(380.7, konstanz_measurements.last.value) end end
Version data entries
5 entries across 5 versions & 1 rubygems