Sha256: fd913647b842b366d3626a989888fa669fc5a5a4807724af56802f6c310360d0

Contents?: true

Size: 541 Bytes

Versions: 3

Compression:

Stored size: 541 Bytes

Contents

require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
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

3 entries across 3 versions & 1 rubygems

Version Path
date_supercharger-0.1.1 test/test_helper.rb
date_supercharger-0.1.0 test/test_helper.rb
date_supercharger-0.0.2 test/test_helper.rb