mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
5da4d5142a
minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails
18 lines
414 B
Ruby
18 lines
414 B
Ruby
ENV["RAILS_ENV"] ||= "test"
|
|
|
|
require File.expand_path("../../../load_paths", __FILE__)
|
|
|
|
require 'stringio'
|
|
require 'active_support/testing/autorun'
|
|
require 'fileutils'
|
|
|
|
require 'active_support'
|
|
require 'action_controller'
|
|
require 'rails/all'
|
|
|
|
module TestApp
|
|
class Application < Rails::Application
|
|
config.root = File.dirname(__FILE__)
|
|
config.secret_key_base = 'b3c631c314c0bbca50c1b2843150fe33'
|
|
end
|
|
end
|