Permalink
Browse files

Add missing model and fixtures to finder_test [#2671 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
1 parent 27de7f1 commit 28f5cfe066dfa901d71c02987e390937a74517c8 @miloops miloops committed with lifo May 18, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/cases/finder_test.rb
@@ -7,10 +7,10 @@
require 'models/topic'
require 'models/reply'
require 'models/entrant'
+require 'models/project'
require 'models/developer'
require 'models/customer'
require 'models/job'
-require 'models/categorization'
class DynamicFinderMatchTest < ActiveRecord::TestCase
def test_find_no_match
@@ -64,7 +64,7 @@ def test_find_or_create_by
end
class FinderTest < ActiveRecord::TestCase
- fixtures :companies, :topics, :entrants, :developers, :developers_projects, :posts, :comments, :accounts, :authors, :customers
+ fixtures :companies, :topics, :entrants, :developers, :developers_projects, :posts, :comments, :accounts, :authors, :customers, :categories, :categorizations
def test_find
assert_equal(topics(:first).title, Topic.find(1).title)

0 comments on commit 28f5cfe

Please sign in to comment.