Sha256: a174494324be44332e4586755f7b3f325615b72a1fdea1017c5f0c7fcf686b93

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

require "bundler/setup"
Bundler.require(:default)
require "minitest/autorun"
require "minitest/pride"
require "logger"
require "byebug"

# for debugging
# ActiveRecord::Base.logger = Logger.new(STDOUT)

# migrations
def establish_connection
  ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"

  ActiveRecord::Migration.create_table :visits do |t|
    t.string :city
    t.datetime :visit_date
  end
end

class Visit < ActiveRecord::Base
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
date_supercharger-0.0.1 test/test_helper.rb