mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 02:50:00 +08:00
Failing test
This commit is contained in:
parent
96065a1499
commit
f3279a67fc
|
@ -80,6 +80,11 @@ describe PostAnalyzer do
|
|||
post_analyzer = PostAnalyzer.new(raw_three_links, default_topic_id)
|
||||
post_analyzer.linked_hosts.should == {"discourse.org" => 1, "www.imdb.com" => 1}
|
||||
end
|
||||
|
||||
it 'returns blank for ipv6 output' do
|
||||
post_analyzer = PostAnalyzer.new('PING www.google.com(lb-in-x93.1e100.net) 56 data bytes', default_topic_id)
|
||||
post_analyzer.linked_hosts.should be_blank
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user