Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v2.0.0.beta.5
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.615 kB
%w(actionmailer actionpack activemodel activerecord activeresource activesupport railties).each do |directory|
$LOAD_PATH.unshift File.expand_path( File.join(File.dirname(__FILE__), "..", "tmp", "rails", directory, "lib") )
end
require 'i18n'
require 'rack'
require 'rack/mock'
require 'rack/mime'
require 'active_support'
require 'active_support/core_ext'
require 'action_dispatch'
require 'action_controller'
require 'active_record'
require 'rspec/rails'
def in_editor?
ENV.has_key?('TM_MODE') || ENV.has_key?('EMACS') || ENV.has_key?('VIM')
end
Rspec.configure do |c|
c.color_enabled = !in_editor?
end
Jump to Line
Something went wrong with that request. Please try again.