Sha256: ec69354b40cf91b09d7a548d2f26a90675c8f98753d84c2ba797563e925e9f4e

Contents?: true

Size: 624 Bytes

Versions: 1

Compression:

Stored size: 624 Bytes

Contents

require 'spec_helper'

module Beatport::Catalog
  describe AccountType do
    describe 'structure' do
     before(:all) { @account_type = AccountType.all.first }
     
     it { @account_type.code.should == "AMEX" }
     it { @account_type.bpid.should == "1" }
     it { @account_type.cybersource_card_type.should == "003" }
     it { @account_type.issue_number_or_start_date_required.should == false }
     it { @account_type.validation_regex.should == /^3[47][0-9]{13}$/ }
     it { @account_type.images.small.url.should == "https://ak-secure-beatport.bpddn.com/images/creditcard/logo_cc_amex_37x23.gif"}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beatport-0.1.1 spec/catalog/account_type_spec.rb