Sha256: 87e4a13e33427d50b0fc0be96091613426a2f176e258366324ee7464139d2a4e
Contents?: true
Size: 771 Bytes
Versions: 13
Compression:
Stored size: 771 Bytes
Contents
require 'test_helper' class GeoCerts::HelloTest < Test::Unit::TestCase context 'GeoCerts::Hello (using the API)' do context 'message' do should 'return a GeoCerts::Hello' do managed_server_request :post, %r{/hello.xml.*}, :response => Responses::Hello::Hello do assert_kind_of(GeoCerts::Hello, GeoCerts::Hello.message('test message')) end end should 'return the message' do managed_server_request :post, %r{/hello.xml.*}, :response => Responses::Hello::Hello do assert_equal('test message', GeoCerts::Hello.message('test message').hello) assert_equal('test message', GeoCerts::Hello.message('test message').result) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems