spec/kramdown-gist_spec.rb in kramdown-gist-0.0.1 vs spec/kramdown-gist_spec.rb in kramdown-gist-0.0.2

- old
+ new

@@ -35,12 +35,12 @@ ::Kramdown::Document.new("testing 123 *{gist:1234}", :input => 'KramdownGist').to_html.should eql("<p>testing 123 *{gist:1234}</p>\n") ::Kramdown::Document.new("testing 123\n*{gist:1234}", :input => 'KramdownGist').to_html.should eql("<p>testing 123\n*{gist:1234}</p>\n") end it "is idempotent when generating kramdown" do - ::Kramdown::Document.new("*{gist:1234}", :input => 'KramdownGist').to_kramdown eql("*{gist:1234}\n") + ::Kramdown::Document.new("*{gist:1234}", :input => 'KramdownGist').to_kramdown.should eql("*{gist:1234}\n\n") end it "renders to a suitable placeholder when generating LaTeX" do - ::Kramdown::Document.new("*{gist:1234}", :input => 'KramdownGist').to_latex eql("See \\href{https://gist.github.com/1234}{Gist 1234}.\n\n") + ::Kramdown::Document.new("*{gist:1234}", :input => 'KramdownGist').to_latex.should eql("See \\href{https://gist.github.com/1234}{Gist 1234}.\n\n") end end