mirror of
https://github.com/github/rails.git
synced 2026-01-30 00:38:00 -05:00
Include some missing fixtures. Closes #7981.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -14,7 +14,6 @@ require 'fixtures/author'
|
||||
require 'fixtures/tag'
|
||||
require 'fixtures/tagging'
|
||||
|
||||
|
||||
class AssociationsTest < Test::Unit::TestCase
|
||||
fixtures :accounts, :companies, :developers, :projects, :developers_projects,
|
||||
:computers
|
||||
@@ -1034,7 +1033,7 @@ end
|
||||
|
||||
class BelongsToAssociationsTest < Test::Unit::TestCase
|
||||
fixtures :accounts, :companies, :developers, :projects, :topics,
|
||||
:developers_projects, :computers, :authors, :posts
|
||||
:developers_projects, :computers, :authors, :posts, :tags, :taggings
|
||||
|
||||
def test_belongs_to
|
||||
Client.find(3).firm.name
|
||||
|
||||
@@ -7,7 +7,7 @@ require 'fixtures/developer'
|
||||
require 'fixtures/post'
|
||||
|
||||
class FinderTest < Test::Unit::TestCase
|
||||
fixtures :companies, :topics, :entrants, :developers, :developers_projects, :posts, :accounts
|
||||
fixtures :companies, :topics, :entrants, :developers, :developers_projects, :posts, :comments, :accounts
|
||||
|
||||
def test_find
|
||||
assert_equal(topics(:first).title, Topic.find(1).title)
|
||||
|
||||
Reference in New Issue
Block a user