aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures_test.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-08-11 23:38:46 +0000
committerRick Olson <technoweenie@gmail.com>2006-08-11 23:38:46 +0000
commit02021d89b1928e9869b0038afc08cb6b3e719014 (patch)
tree350b79527e89bc9d4f38e24d40c8bdca7673fd2f /activerecord/test/fixtures_test.rb
parent69266a063bfa63408b0ea2453c699b7ad5531d86 (diff)
downloadrails-02021d89b1928e9869b0038afc08cb6b3e719014.tar.gz
rails-02021d89b1928e9869b0038afc08cb6b3e719014.tar.bz2
rails-02021d89b1928e9869b0038afc08cb6b3e719014.zip
Tweak fixtures so they don't try to use a non-ActiveRecord class. [Kevin Clark]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures_test.rb')
-rwxr-xr-xactiverecord/test/fixtures_test.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/activerecord/test/fixtures_test.rb b/activerecord/test/fixtures_test.rb
index 88f01c8a05..e33d12e703 100755
--- a/activerecord/test/fixtures_test.rb
+++ b/activerecord/test/fixtures_test.rb
@@ -343,3 +343,13 @@ class InvalidTableNameFixturesTest < Test::Unit::TestCase
end
end
end
+
+class DevelopersProject; end;
+
+class ManyToManyFixturesWithClassDefined < Test::Unit::TestCase
+ fixtures :developers_projects
+
+ def test_this_should_run_cleanly
+ assert true
+ end
+end \ No newline at end of file