Sha256: 8bbc654182f69eca983be6ad11c17bc561c4d31bacb43f375aa20263444a2494

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

require 'active_record'
require 'sqlite3'

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

ActiveRecord::Migration.verbose = false

ActiveRecord::Schema.define do
  create_table :people do |t|
    t.string :email
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minitest-activemodel-1.1.0 test/ar_test_helper.rb
minitest-activemodel-1.0.0 test/ar_test_helper.rb