Sha256: 227de2b7c4d05860646fb6807819363e2de2d8fbf9e17d159000d8bf65f096df

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

require 'bundler/setup'
require 'minitest/spec'
require 'minitest/autorun'
require 'active_record/like'

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

ActiveRecord::Schema.verbose = false
ActiveRecord::Schema.define do
  create_table :posts do |t|
    t.string :title
    t.string :category
  end
end

class Post < ActiveRecord::Base
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord-like-0.0.2 test/helper.rb
activerecord-like-0.0.1 test/helper.rb