From 139b92495fa7697cdd619c549d4c7b263562b761 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 5 Jan 2008 13:34:15 +0000 Subject: * Continue evolution toward ActiveSupport::TestCase and friends. #10679 [Josh Peek] * TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/readonly_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/readonly_test.rb') diff --git a/activerecord/test/readonly_test.rb b/activerecord/test/readonly_test.rb index 584eb735fe..6bac42e468 100755 --- a/activerecord/test/readonly_test.rb +++ b/activerecord/test/readonly_test.rb @@ -11,7 +11,7 @@ def Comment.foo() find :first end def Project.foo() find :first end -class ReadOnlyTest < Test::Unit::TestCase +class ReadOnlyTest < ActiveSupport::TestCase fixtures :posts, :comments, :developers, :projects, :developers_projects def test_cant_save_readonly_record -- cgit v1.2.3