Sha256: f017da62641b39db20f1645b93e7c635039bbbe882cb857677eb6ce9b9e932c9
Contents?: true
Size: 499 Bytes
Versions: 11
Compression:
Stored size: 499 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) module Stripe class AccountTest < Test::Unit::TestCase should "account should be retrievable" do resp = {:email => "test+bindings@stripe.com", :charge_enabled => false, :details_submitted => false} @mock.expects(:get).once.returns(test_response(resp)) a = Stripe::Account.retrieve assert_equal "test+bindings@stripe.com", a.email assert !a.charge_enabled assert !a.details_submitted end end end
Version data entries
11 entries across 11 versions & 1 rubygems