Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 577 Bytes
require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../vendor/sinatra/lib')
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../vendor/rack/lib')
require 'rack'
require 'sinatra'
require 'sinatra/test/unit'
Sinatra::Application.set(
:environment => :test,
:run => false,
:raise_errors => true,
:logging => false
)
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'app', 'config'))
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'app', 'controllers', 'application'))
Something went wrong with that request. Please try again.