Sha256: 7ad1513c327cd71c86139939dfca775a7157631c1ec445e30dc6d6eab79c64e7

Contents?: true

Size: 297 Bytes

Versions: 2

Compression:

Stored size: 297 Bytes

Contents

require 'validates_cpf'
require 'active_record'

ActiveRecord::Base.establish_connection(
  :adapter => 'sqlite3',
  :database => ':memory:'
)

ActiveRecord::Schema.define do
  self.verbose = false

  create_table :people do |t|
    t.string :code
  end
end

class Person < ActiveRecord::Base
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cpf_validation-0.2.0 spec/spec_helper.rb
cpf_validation-0.1.0 spec/spec_helper.rb