Permalink
Browse files

Merge pull request #1950 from dmathieu/require_railties

Add railties to the load path if it's not already there
  • Loading branch information...
2 parents 3adb24a + dc2d8af commit 78ff00d1964bdc911175ed29559d1382ace33d64 @josevalim josevalim committed Jul 3, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 railties/test/railties/generators_test.rb
@@ -1,7 +1,8 @@
RAILS_ISOLATED_ENGINE = true
require "isolation/abstract_unit"
-require "#{RAILS_FRAMEWORK_ROOT}/railties/lib/rails/generators/test_case"
+require 'generators/generators_test_helper'
+require "rails/generators/test_case"
module RailtiesTests
class GeneratorTest < Rails::Generators::TestCase

0 comments on commit 78ff00d

Please sign in to comment.