Sha256: a2450464d871f6bdcf39907acc87a2958f0896f665e5d6f322d51869f43439b2

Contents?: true

Size: 527 Bytes

Versions: 5

Compression:

Stored size: 527 Bytes

Contents

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$:.unshift(File.join(File.dirname(__FILE__), '..', 'spec'))

require 'rubygems'
require 'spec/autorun'

require 'active_record'
require 'active_enum'

RAILS_ROOT = File.dirname(__FILE__)

ActiveRecord::Migration.verbose = false
ActiveRecord::Base.establish_connection({:adapter => 'sqlite3', :database => ':memory:'})

require 'schema'

class Person < ActiveRecord::Base; end

module SpecHelper

end

Spec::Runner.configure do |config|
  config.include SpecHelper
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_enum-0.5.1 spec/spec_helper.rb
active_enum-0.5.0 spec/spec_helper.rb
active_enum-0.4.1 spec/spec_helper.rb
active_enum-0.4.0 spec/spec_helper.rb
active_enum-0.3.0 spec/spec_helper.rb