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 = PostAnalyzer.new(raw_three_links, default_topic_id)
|
||||||
post_analyzer.linked_hosts.should == {"discourse.org" => 1, "www.imdb.com" => 1}
|
post_analyzer.linked_hosts.should == {"discourse.org" => 1, "www.imdb.com" => 1}
|
||||||
end
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue