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

Version Path
spreedly-2.0.28 test/unit/find_transcript_test.rb
spreedly-2.0.27 test/unit/find_transcript_test.rb
spreedly-2.0.26 test/unit/find_transcript_test.rb
spreedly-2.0.25 test/unit/find_transcript_test.rb
spreedly-2.0.24 test/unit/find_transcript_test.rb
spreedly-2.0.23 test/unit/find_transcript_test.rb
spreedly-2.0.22 test/unit/find_transcript_test.rb
spreedly-2.0.21 test/unit/find_transcript_test.rb
spreedly-2.0.20 test/unit/find_transcript_test.rb
spreedly-2.0.19 test/unit/find_transcript_test.rb
spreedly-2.0.18 test/unit/find_transcript_test.rb
spreedly-2.0.17 test/unit/find_transcript_test.rb
spreedly-2.0.16 test/unit/find_transcript_test.rb
spreedly-2.0.15 test/unit/find_transcript_test.rb
spreedly-2.0.14 test/unit/find_transcript_test.rb
spreedly-2.0.13 test/unit/find_transcript_test.rb
spreedly-2.0.11 test/unit/find_transcript_test.rb
spreedly-2.0.10 test/unit/find_transcript_test.rb
spreedly-2.0.9 test/unit/find_transcript_test.rb
spreedly-2.0.8 test/unit/find_transcript_test.rb