Sha256: bae11daf9b5e7fd948d6e156e6377a0989c9ea9dace54bc1a90d96f7b4b2dfae

Contents?: true

Size: 372 Bytes

Versions: 2

Compression:

Stored size: 372 Bytes

Contents

require 'turn/autorun'
require 'minitest/spec'
require 'minitest/autorun'
require 'credit_card_validation'
require 'active_record'

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

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
credit_card_validation-1.0.0 spec/spec_helper.rb
credit_card_validation-0.0.1 spec/spec_helper.rb