Fixing tests.

This commit is contained in:
Denilson Sá 2014-06-13 03:50:02 -03:00
parent cc734930c6
commit b42e29c5a7
1 changed files with 4 additions and 4 deletions

View File

@ -91,11 +91,11 @@ CONTENT
end end
should "render markdown with pygments" do should "render markdown with pygments" do
assert_match %{<pre><code class="text">test</code></pre>}, @result assert_match %{<pre><code class="language-text" data-lang="text">test</code></pre>}, @result
end end
should "render markdown with pygments with line numbers" do should "render markdown with pygments with line numbers" do
assert_match %{<pre><code class="text"><span class="lineno">1</span> test</code></pre>}, @result assert_match %{<pre><code class="language-text" data-lang="text"><span class="lineno">1</span> test</code></pre>}, @result
end end
end end
@ -105,7 +105,7 @@ CONTENT
end end
should "not embed the file" do should "not embed the file" do
assert_match %{<pre><code class="text">./jekyll.gemspec</code></pre>}, @result assert_match %{<pre><code class="language-text" data-lang="text">./jekyll.gemspec</code></pre>}, @result
end end
end end
@ -115,7 +115,7 @@ CONTENT
end end
should "render markdown with pygments line handling" do should "render markdown with pygments line handling" do
assert_match %{<pre><code class="text">Æ</code></pre>}, @result assert_match %{<pre><code class="language-text" data-lang="text">Æ</code></pre>}, @result
end end
end end