diff options
author | Andrew Ferk <andrewferk@gmail.com> | 2010-09-18 09:53:08 -0500 |
---|---|---|
committer | Andrew Ferk <andrewferk@gmail.com> | 2010-09-18 09:53:08 -0500 |
commit | 7329ceb1b9599701e76ce772425248a09adec9d4 (patch) | |
tree | 4cd7088498a22786949ebbbb418221fabf3dd9fb /railties | |
parent | 8050d9490706c88ea180fe17699e645981715d57 (diff) | |
download | rails-7329ceb1b9599701e76ce772425248a09adec9d4.tar.gz rails-7329ceb1b9599701e76ce772425248a09adec9d4.tar.bz2 rails-7329ceb1b9599701e76ce772425248a09adec9d4.zip |
Updated yaffle_test.rb from 2.2 to require 'test_helper' and extend ActiveSupport::TestCase
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/plugins.textile | 4 |
1 files changed, 2 insertions, 2 deletions
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 <ruby> # 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 |