Sha256: be0fa8ca1da6bce830d9f9a10826bd181b756b436ff8fabd97d73686c2844040

Contents?: true

Size: 654 Bytes

Versions: 5

Compression:

Stored size: 654 Bytes

Contents

require 'rubygems'

require 'test/unit'

require 'rack/test'
require 'rr'

gem 'crack', '>= 0.1.4'
require 'crack/json'

gem 'djsun-context', '>= 0.5.6'
require 'context'

gem 'pending', '>= 0.1.1'
require 'pending'

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

5 entries across 5 versions & 1 rubygems

Version Path
sinatra_resource-0.4.20 examples/datacatalog/test/helpers/test_helper.rb
sinatra_resource-0.4.19 examples/datacatalog/test/helpers/test_helper.rb
sinatra_resource-0.4.18 examples/datacatalog/test/helpers/test_helper.rb
sinatra_resource-0.4.17 examples/datacatalog/test/helpers/test_helper.rb
sinatra_resource-0.4.16 examples/datacatalog/test/helpers/test_helper.rb