Sha256: d369371f53f645b553419746a25f2edef187491326da4e4255172636a18a7801
Contents?: true
Size: 813 Bytes
Versions: 4
Compression:
Stored size: 813 Bytes
Contents
require "spec_helper" describe "#acts_as_bank_account_transactionable" do before(:each) { @user = User.create } specify { @user.class.should respond_to :acts_as_bank_account_transactionable } describe "#add_bank_account", :vcr, :marketplace do before(:each) do @user = User.create @balanced_bank_account = Balanced::BankAccount.new( name: "Mario", account_number: "9900000002", routing_number: "021000021", type: "checking").save @user.add_bank_account(@balanced_bank_account.uri) @bank_account = @user.bank_accounts.first end specify { @user.bank_accounts.should_not be_blank } specify { @bank_account.remote_bank_account.uri.should_not be_blank } specify { @bank_account.description.should include "0002" } end end
Version data entries
4 entries across 4 versions & 1 rubygems