Changeset 18932
- Timestamp:
- 09/07/08 04:11:22 (5 years ago)
- Files:
-
- 1 modified
-
lang/ruby/ssb/trunk/test/filter_test.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/ssb/trunk/test/filter_test.rb
r2942 r18932 8 8 term = flexmock("term") 9 9 term.should_receive(:get_carrier).and_return(SSB::KtaiSpec::CARRIER_DOCOMO) 10 expected = %Q{<a href=\"./?ssb_q=http%3A%2F%2Fexample.com%3A80%2Fbar\" target=\"_top\" >foo</a>}10 expected = %Q{<a href=\"./?ssb_q=http%3A%2F%2Fexample.com%3A80%2Fbar\" target=\"_top\">foo</a>} 11 11 filtered = SSB::Application.filter_html("<a href='/bar'>foo</a>", URI.parse('http://example.com/foo'), term, '') 12 12 assert_equal(expected, filtered)
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)