From 3b3bed3d26a54d779c365b18b4cb94b5ca5f9dfc Mon Sep 17 00:00:00 2001 From: James Adam Date: Fri, 3 Apr 2009 16:54:30 +0100 Subject: [PATCH 202/202] Plugin tests didn't run using the generated test helper, because test/unit was never actually required. --- .../components/plugin/templates/test_helper.rb | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb b/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb index cf148b8..9c6907c 100644 --- a/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb +++ b/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb @@ -1,3 +1,5 @@ +# Change these if your plugin tests use a different test framework require 'rubygems' require 'active_support' -require 'active_support/test_case' \ No newline at end of file +require 'active_support/test_case' +require 'test/unit' \ No newline at end of file -- 1.6.2