Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 91efe3958a
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.321 kB
require "rails"
if defined?(Rake) && Rake.application.top_level_tasks.grep(/^(default$|test(:|$))/).any?
ENV['RAILS_ENV'] ||= 'test'
end
%w(
active_record
action_controller
action_mailer
rails/test_unit
sprockets
).each do |framework|
begin
require "#{framework}/railtie"
rescue LoadError
end
end
Jump to Line
Something went wrong with that request. Please try again.