Sha256: d32ae797471eb2e70aa0f14c9726137e9d9f2e11a56812f36460cbba35c72a4d
Contents?: true
Size: 568 Bytes
Versions: 30
Compression:
Stored size: 568 Bytes
Contents
require 'test_helper' class GetTripSegmentsTest < Minitest::Test def get_trip_segments Gillbus::GetTripSegments::Response.parse_string(File.read('test/responses/getTripSegments.xml')) end def test_get_trip_segments points = get_trip_segments.points assert_equal( 13, points.size ) assert_equal( 'Львов', points.first.geography_name ) assert_equal( 'Ж/Д вокзал Львів', points.first.name ) assert_equal( 'Щецин', points.last.geography_name ) assert_equal( 'Автовокзал', points.last.name ) end end
Version data entries
30 entries across 30 versions & 1 rubygems