From 7329ceb1b9599701e76ce772425248a09adec9d4 Mon Sep 17 00:00:00 2001 From: Andrew Ferk Date: Sat, 18 Sep 2010 09:53:08 -0500 Subject: Updated yaffle_test.rb from 2.2 to require 'test_helper' and extend ActiveSupport::TestCase --- railties/guides/source/plugins.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/guides') diff --git a/railties/guides/source/plugins.textile b/railties/guides/source/plugins.textile index 9ecedc527d..c04c7b9406 100644 --- a/railties/guides/source/plugins.textile +++ b/railties/guides/source/plugins.textile @@ -220,9 +220,9 @@ Once you have these files in place, you can write your first test to ensure that # vendor/plugins/yaffle/test/yaffle_test.rb -require File.dirname(__FILE__) + '/test_helper' +require 'test_helper' -class YaffleTest < Test::Unit::TestCase +class YaffleTest < ActiveSupport::TestCase load_schema class Hickwall < ActiveRecord::Base -- cgit v1.2.3