blob: da960f21f4f83ee584d618453b4893fe376114bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
CONFIG_RU = (Rails.root + 'config.ru').to_s
OUTER_APP = Rack::Builder.parse_file(CONFIG_RU).first
class RackTest < ActiveSupport::TestCase
include Rack::Test::Methods
include Warden::Test::Helpers
include LeapWebCore::AssertResponses
def app
OUTER_APP
end
end
|