diff options
Diffstat (limited to 'railties/lib/rails_generator/generators/components/model/templates/unit_test.rb')
-rw-r--r-- | railties/lib/rails_generator/generators/components/model/templates/unit_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb b/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb index 852b5d2529..1c19cde769 100644 --- a/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb +++ b/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb @@ -1,4 +1,4 @@ -require File.dirname(__FILE__) + '/../test_helper' +require File.dirname(__FILE__) + '<%= '/..' * class_nesting_depth %>/../test_helper' class <%= class_name %>Test < Test::Unit::TestCase fixtures :<%= table_name %> |