Sha256: 79aa72cb6774e446b9a451dee19f2d0e1693d5f6403be51ada5c21c9eff4442d

Contents?: true

Size: 714 Bytes

Versions: 1

Compression:

Stored size: 714 Bytes

Contents

require 'rubygems'
begin
  require 'bundler'
  Bundler.setup
rescue LoadError
  puts "Please run `gem install bundler` and `bundle install`"
end
require 'crack/json'
require 'pending'
require 'rack/test'
require 'rr'
require 'test/unit'
require 'timecop'
require 'tu-context'

base = File.dirname(__FILE__)
Dir.glob(base + '/lib/*.rb'       ).each { |f| require f }
Dir.glob(base + '/test_cases/*.rb').each { |f| require f }
Dir.glob(base + '/assertions/*.rb').each { |f| require f }
Dir.glob(base + '/shared/*.rb'    ).each { |f| require f }

require File.expand_path(base + '/../../config/config')
Config.environment = 'test'
class Test::Unit::TestCase
  include RR::Adapters::TestUnit
end

Config.drop_database

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra_resource-0.4.24 examples/datacatalog/test/helpers/test_helper.rb