Changeset 18932 for lang/ruby

Show
Ignore:
Timestamp:
09/07/08 04:11:22 (5 years ago)
Author:
koshigoe
Message:

* テストの期待値がコードとあっていなかったので修正

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/ssb/trunk/test/filter_test.rb

    r2942 r18932  
    88    term = flexmock("term") 
    99    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>} 
    1111    filtered = SSB::Application.filter_html("<a href='/bar'>foo</a>", URI.parse('http://example.com/foo'), term, '') 
    1212    assert_equal(expected, filtered)