Skip to content

Instantly share code, notes, and snippets.

@lucasefe
Created September 10, 2010 16:37
Show Gist options
  • Save lucasefe/573956 to your computer and use it in GitHub Desktop.
Save lucasefe/573956 to your computer and use it in GitHub Desktop.
ENV["RAILS_ENV"] = "test"
$:.unshift File.dirname(__FILE__)
# loading internal rails app.
require "dummy_app/config/environment"
require "rails/test_help"
$:.unshift File.expand_path('../support', __FILE__)
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment