1 require File.join( File.dirname(__FILE__), "..", "..", "..", "spec_helper" )
3 describe Mart::Accounts::CreditCardAccount do
5 it "should have a CC number if the account type is a credit card" do
6 @account = Mart::Accounts::CreditCardAccount.new
8 #@account.order_account_type = 1 #OrderAccount.TYPES.CreditCard
9 @account.should_not be_valid
12 it "should have a valid credit card CCV"
13 it "should have a numeric expiration month"
14 it "should have a numeric expiration year"
15 it "should have a valid expiration month"