root/trunk/demo/test/unit/shared_index2_test.rb
| Revision 317, 309 bytes (checked in by jk, 8 months ago) |
|---|
| Line | |
|---|---|
| 1 | require File.dirname(__FILE__) + '/../test_helper' |
| 2 | |
| 3 | class SharedIndex2Test < Test::Unit::TestCase |
| 4 | fixtures :shared_index2s, :shared_index1s |
| 5 | |
| 6 | def setup |
| 7 | SharedIndex1.rebuild_index |
| 8 | end |
| 9 | |
| 10 | def test_query_for_record |
| 11 | assert_match /SharedIndex2/, shared_index2s(:first).query_for_record.to_s |
| 12 | end |
| 13 | end |
Note: See TracBrowser for help on using the browser.
