spec/zemanta/enhancer_spec.rb in zemanta_client-0.0.6 vs spec/zemanta/enhancer_spec.rb in zemanta_client-0.0.7

- old
+ new

@@ -41,10 +41,10 @@ it "strips the query string from the suggested urls" do text = "Hello foo bar" suggestions = [{ word: 'foo', link: "http://bar.com/foo?bar=123" }] Zemanta::Enhancer.any_instance.stub(words_to_anchor: suggestions) output = Zemanta::Enhancer.new(text, strip_query_string: true).enhance - output.should == "Hello <a href=http://bar.com/foo>foo</a> bar" + output.should == "Hello <a href='http://bar.com/foo'>foo</a> bar" end end end end