Sha256: c128ea6cdb743c8e95837f0366cd6b6e8290476517cfb36c19057427b81ea065
Contents?: true
Size: 671 Bytes
Versions: 19
Compression:
Stored size: 671 Bytes
Contents
require "embulk/input/marketo_api" module Embulk module Input class MarketoApiTest < Test::Unit::TestCase class SoapClientTest < self data do { lead: [:lead, MarketoApi::Soap::Lead], activity_log: [:activity_log, MarketoApi::Soap::ActivityLog], } end def test_valid_target(data) target, expected = data actual = MarketoApi.soap_client({}, target) assert_equal(expected, actual.class) end def test_unknown_target assert_raise do MarketoApi.soap_client({}, "unknown") end end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems