Changeset 151
- Timestamp:
- 02/09/07 19:05:00 (2 years ago)
- Files:
-
- trunk/demo/test/unit/content_test.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/demo/test/unit/content_test.rb
r142 r151 28 28 end 29 29 30 def test_truth 31 assert_kind_of Content, contents(:first) 30 def test_ticket_69 31 content = Content.create(:title => 'aksjeselskap test', 32 :description => 'content about various norwegian companies. A.s. Haakon, Ã 33 mot HÃ¥ndverksenter A/S, Ãye Trelast AS') 34 35 # these still fail: 'A\S', 'AS' 36 [ '"A.s. Haakon"', 'A.s. Haakon', 'Ã 37 mot A/S', 'A/S' ].each do |query| 38 assert_equal content, Content.find_by_contents(query).first, query 39 end 32 40 end 33 41
