Permalink
Browse files

Load the generators test helper and properly load it's test case

  • Loading branch information...
1 parent 17693a9 commit dc2d8af1a34d1310450f5e22d497dc3df1adcbde @dmathieu dmathieu 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 dc2d8af

Please sign in to comment.