Ticket #7981: include_missing_fixtures.diff
| File include_missing_fixtures.diff, 1.4 kB (added by roderickvd, 2 years ago) |
|---|
-
activerecord/test/associations_test.rb
old new 13 13 require 'fixtures/tag' 14 14 require 'fixtures/tagging' 15 15 16 17 16 class AssociationsTest < Test::Unit::TestCase 18 17 fixtures :accounts, :companies, :developers, :projects, :developers_projects, 19 18 :computers … … 1029 1028 1030 1029 class BelongsToAssociationsTest < Test::Unit::TestCase 1031 1030 fixtures :accounts, :companies, :developers, :projects, :topics, 1032 :developers_projects, :computers, :authors, :posts 1031 :developers_projects, :computers, :authors, :posts, :tags, :taggings 1033 1032 1034 1033 def test_belongs_to 1035 1034 Client.find(3).firm.name -
activerecord/test/finder_test.rb
old new 7 7 require 'fixtures/post' 8 8 9 9 class FinderTest < Test::Unit::TestCase 10 fixtures :companies, :topics, :entrants, :developers, :developers_projects, :posts, : accounts10 fixtures :companies, :topics, :entrants, :developers, :developers_projects, :posts, :comments, :accounts 11 11 12 12 def test_find 13 13 assert_equal(topics(:first).title, Topic.find(1).title)