To edit pages or tickets please login with username/password: aaf/aaf

Changeset 132

Show
Ignore:
Timestamp:
01/24/07 09:21:58 (2 years ago)
Author:
jk
Message:

test case for id field not be included in queries

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/demo/test/unit/comment_test.rb

    r122 r132  
    1515  def test_class_index_dir 
    1616    assert_equal "#{RAILS_ROOT}/index/test/comment", Comment.class_index_dir 
     17  end 
     18 
     19  def test_search_for_id 
     20    assert Comment.find_by_contents('3').empty? 
    1721  end 
    1822 

To edit pages or tickets please login with username/password: aaf/aaf