Sha256: 0fa6cce79192c97ba34c1cbf2360407e95acc15c2e128c017092c6c1c6f90306

Contents?: true

Size: 373 Bytes

Versions: 4

Compression:

Stored size: 373 Bytes

Contents

require 'bundler/setup'

if defined?(M)
  require 'minitest/spec'
else
  require 'minitest/autorun'
end

require 'active_record'
require 'context_validations'

class MiniTest::Spec
  class << self
    alias :context :describe
  end
end

ActiveRecord::Base.establish_connection(
  :adapter => defined?(JRUBY_VERSION) ? 'jdbcsqlite3' : 'sqlite3',
  :database => ':memory:'
)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
context_validations-0.3.0 test/test_helper.rb
context_validations-0.2.0 test/test_helper.rb
context_validations-0.1.1 test/test_helper.rb
context_validations-0.1.0 test/test_helper.rb