Sha256: 864bcd78c7a98b3512d0a678f34862e46917f7222b5a55dfc370ec2bfd204590

Contents?: true

Size: 724 Bytes

Versions: 8

Compression:

Stored size: 724 Bytes

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'test/unit'
require 'shoulda'

ENV['RAILS_ENV'] = 'test'
ENV['RAILS_ROOT'] = File.dirname(__FILE__)
 
require 'test/unit'
require File.expand_path(File.join(ENV['RAILS_ROOT'], 'config/environment.rb'))

path = File.expand_path("db/migrate", File.dirname(__FILE__))
$stderr.puts "Migrating #{path}"
ActiveRecord::Migrator.migrate path, nil
    
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

class Test::Unit::TestCase
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
has_eav-1.2.0 test/helper.rb
has_eav-1.1.5 test/helper.rb
has_eav-1.1.4 test/helper.rb
has_eav-1.1.2 test/helper.rb
has_eav-1.1.1 test/helper.rb
has_eav-1.1.0 test/helper.rb
has_eav-1.0.1 test/helper.rb
has_eav-1.0.0 test/helper.rb