Sha256: 401ef81f67ec60cf80bb4e8b15890bb016a4ad9a5d91a242f7951782145989a2
Contents?: true
Size: 465 Bytes
Versions: 5
Compression:
Stored size: 465 Bytes
Contents
require 'test_helper' class ServiceTest < Minitest::Test def test_all assert_equal(1, SampleService.all.length) end def test_find service = SampleService.find(1) assert service, "expect to find a service by version" assert_equal "1", service.version assert_equal 2, service.protocols.length protocol = service.protocol("location") assert_equal "location", protocol.name assert_equal 3, protocol.endpoints.length end end
Version data entries
5 entries across 5 versions & 1 rubygems