Sha256: 471bf698ed5a7b8865030c9c046d156f151222eb376ca1c4fd2dd61ce611bd26

Contents?: true

Size: 378 Bytes

Versions: 9

Compression:

Stored size: 378 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

module Paid
  class AccountTest < Test::Unit::TestCase
    should "account should be retrievable" do
      resp = {:email => "test+bindings@paidapi.com"}
      @mock.expects(:get).once.returns(test_response(resp))
      a = Paid::Account.retrieve
      assert_equal "test+bindings@paidapi.com", a.email
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
paid-0.1.0 test/paid/account_test.rb
paid-0.0.8 test/paid/account_test.rb
paid-0.0.7 test/paid/account_test.rb
paid-0.0.6 test/paid/account_test.rb
paid-0.0.5 test/paid/account_test.rb
paid-0.0.4 test/paid/account_test.rb
paid-0.0.3 test/paid/account_test.rb
paid-0.0.2 test/paid/account_test.rb
paid-0.0.1 test/paid/account_test.rb