From f3279a67fc7c11983430737a3c2f5ce3c193c2bf Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Mon, 15 Jul 2013 11:22:59 +0100 Subject: [PATCH] Failing test --- spec/models/post_analyzer_spec.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/models/post_analyzer_spec.rb b/spec/models/post_analyzer_spec.rb index 22ed5eba86..22de241695 100644 --- a/spec/models/post_analyzer_spec.rb +++ b/spec/models/post_analyzer_spec.rb @@ -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