Sha256: 7fc25fe665a7411bc61584efbffdb34c9f236c01aed3a19459f70b439fffdf7d

Contents?: true

Size: 436 Bytes

Versions: 2

Compression:

Stored size: 436 Bytes

Contents

$:.unshift File.expand_path('../../lib', __FILE__)
require 'contest'
require 'mocha'
require 'sinatra/base'
require 'sequel'
require 'rack/test'
require 'json'
require 'sinatra/backbone'

class UnitTest < Test::Unit::TestCase
  include Rack::Test::Methods

  def json_response
    JSON.parse last_response.body
  end
end

DB = Sequel.connect('sqlite::memory:')

puts "==> Environment: Sinatra #{Sinatra::VERSION}, Ruby #{RUBY_VERSION}"

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
sinatra-backbone-2-0.1.1 test/test_helper.rb
sinatra-backbone-0.1.1 test/test_helper.rb