Sha256: 6282694c0dd655520ca2436c7388cdef28338e406fe85816b22bae54fb97e331
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
require 'turn/autorun' require 'minitest/spec' require 'minitest/autorun' require 'credit_card_validation' require 'active_record' require 'pry' ActiveRecord::Base.establish_connection( :adapter => 'sqlite3', :database => ':memory:' ) ActiveRecord::Schema.define do self.verbose = false create_table :credit_cards, :force => true do |t| t.string :card_number end create_table :orders, :force => true do |t| t.string :card_number end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
credit_card_validation-1.0.2 | spec/spec_helper.rb |
credit_card_validation-1.0.1 | spec/spec_helper.rb |