diff --git a/spec/models/topic_link_spec.rb b/spec/models/topic_link_spec.rb index 5fb86c7fc54..5aca2837b17 100644 --- a/spec/models/topic_link_spec.rb +++ b/spec/models/topic_link_spec.rb @@ -344,7 +344,7 @@ http://b.com/#{'a'*500} expect(lookup[:post_number]).to eq(1) result = TopicLink.duplicate_lookup(post.topic) - expect(result.count).to eq(0) + expect(result).to eq({}) end end end