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

Changeset 54

Show
Ignore:
Timestamp:
05/18/06 13:11:46 (2 years ago)
Author:
jk
Message:

checking indexing/searching of german umlauts

Files:

Legend:

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

    r51 r54  
    2929  def test_truth 
    3030    assert_kind_of Content, contents(:first) 
     31  end 
     32 
     33  def test_unicode 
     34    content = Content.new(:title => 'Title with some ÜmlÀuts - ÀöÌ',  
     35                          :description => 'look - an ß') 
     36    content.save 
     37    result = Content.find_by_contents('ÀöÌ') 
     38    assert_equal result.first, content 
     39    result = Content.find_by_contents('ÃŒml*') 
     40    assert_equal result.first, content 
     41    result = Content.find_by_contents('ß') 
     42    assert_equal result.first, content 
    3143  end 
    3244 

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