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

Changeset 157

Show
Ignore:
Timestamp:
02/10/07 07:29:00 (2 years ago)
Author:
jk
Message:

#71

Files:

Legend:

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

    r154 r157  
    230230  end 
    231231 
     232  def test_add_rebuilds_index 
     233    remove_index Content 
     234    Content.create(:title => 'another one', :description => 'description') 
     235    contents_from_ferret = Content.find_by_contents('description:title') 
     236    assert_equal 1, contents_from_ferret.size 
     237  end 
    232238  def test_find_rebuilds_index 
    233239    remove_index Content 

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