Sha256: 9800ab5b7288b9406c8aa6ba9592da5bc5bb276ff8cfa81af166180297d806e4

Contents?: true

Size: 512 Bytes

Versions: 2

Compression:

Stored size: 512 Bytes

Contents

Bundler.require
require "test/unit"
require "active_support/all"
require "active_record"
require "mocha"
require "db/create_db"

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require "transitions"
require "active_record/transitions"

class Test::Unit::TestCase

end

def create_database
  ActiveRecord::Base.establish_connection(:adapter  => "sqlite3", :database => ":memory:")
  ActiveRecord::Migration.verbose = false
  CreateDb.migrate(:up)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
transitions-0.0.12 test/helper.rb
transitions-0.0.11 test/helper.rb