Sha256: 8653172ddbc6c0770c2570fb0fd1e3ccbd70828a43444d87be9043bf1cea2652
Contents?: true
Size: 551 Bytes
Versions: 24
Compression:
Stored size: 551 Bytes
Contents
require 'test_helper' class FindTransactionTranscriptTest < Test::Unit::TestCase def setup @environment = Spreedly::Environment.new("key", "secret") end def test_successful_find_transcript t = find_using("Some Non XML String. Could be anything really.") assert_equal "Some Non XML String. Could be anything really.", t end private def find_using(response) @environment.stubs(:raw_ssl_request).returns(StubResponse.succeeded(response)) @environment.find_transcript("IgnoredTokenSinceResponseIsStubbed") end end
Version data entries
24 entries across 24 versions & 1 rubygems