Sha256: 08410f661d29273cf4775d5b5e26ae07f0acb531e5f059b3ef4b4bee9a9f51b7

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

require 'minitest/autorun'
require 'minitest/pride'
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

1 entries across 1 versions & 1 rubygems

Version Path
credit_card_validation-1.0.4 spec/spec_helper.rb