aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/test_unit/plugin
diff options
context:
space:
mode:
authorjastix <nik@jastix.me>2009-08-09 20:50:56 +0400
committerPratik Naik <pratiknaik@gmail.com>2009-08-09 17:56:41 +0100
commita1c289dbe44f32d30d3addcb6b9c912d153f93b0 (patch)
tree305c3581ed710478a998bca898f732407018cc49 /railties/lib/generators/test_unit/plugin
parent1c9b3aabdd1ff1e5b0e2b9bf6d5149baf6f23d1b (diff)
downloadrails-a1c289dbe44f32d30d3addcb6b9c912d153f93b0.tar.gz
rails-a1c289dbe44f32d30d3addcb6b9c912d153f93b0.tar.bz2
rails-a1c289dbe44f32d30d3addcb6b9c912d153f93b0.zip
Require test/unit in the generated test_helper for plugin [#1878 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'railties/lib/generators/test_unit/plugin')
-rw-r--r--railties/lib/generators/test_unit/plugin/templates/test_helper.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/lib/generators/test_unit/plugin/templates/test_helper.rb b/railties/lib/generators/test_unit/plugin/templates/test_helper.rb
index cf148b8b47..348ec33582 100644
--- a/railties/lib/generators/test_unit/plugin/templates/test_helper.rb
+++ b/railties/lib/generators/test_unit/plugin/templates/test_helper.rb
@@ -1,3 +1,5 @@
require 'rubygems'
+require 'test/unit'
require 'active_support'
-require 'active_support/test_case' \ No newline at end of file
+require 'active_support/test_case'
+