Skip to content

Commit

Permalink
Add missing model and fixtures to finder_test [#2671 state:resolved]
Browse files Browse the repository at this point in the history
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information
miloops authored and lifo committed May 18, 2009
1 parent 27de7f1 commit 28f5cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/test/cases/finder_test.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 28f5cfe

Please sign in to comment.