aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures_test.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-03-14 15:15:06 +0000
committerRick Olson <technoweenie@gmail.com>2006-03-14 15:15:06 +0000
commit4965a754d5c9bfde332398c653e003c749e62cf9 (patch)
tree05745679cf3935cbc25831e340ab01f6fb830b2d /activerecord/test/fixtures_test.rb
parent796a43dead8ebf2fb9d28a25cb90e83c9baab4a0 (diff)
downloadrails-4965a754d5c9bfde332398c653e003c749e62cf9.tar.gz
rails-4965a754d5c9bfde332398c653e003c749e62cf9.tar.bz2
rails-4965a754d5c9bfde332398c653e003c749e62cf9.zip
Catch FixtureClassNotFound when using instantiated fixtures on a fixture that has no ActiveRecord model [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3866 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures_test.rb')
-rwxr-xr-xactiverecord/test/fixtures_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures_test.rb b/activerecord/test/fixtures_test.rb
index b1da54b43f..88f01c8a05 100755
--- a/activerecord/test/fixtures_test.rb
+++ b/activerecord/test/fixtures_test.rb
@@ -11,7 +11,7 @@ class FixturesTest < Test::Unit::TestCase
self.use_instantiated_fixtures = true
self.use_transactional_fixtures = false
- fixtures :topics, :developers, :accounts, :tasks, :categories
+ fixtures :topics, :developers, :accounts, :tasks, :categories, :funny_jokes
FIXTURES = %w( accounts companies customers
developers developers_projects entrants