zevarito-undress 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/undress/greencloth.rb +1 -1
- data/test/test_greencloth.rb +1 -1
- data/undress.gemspec +1 -1
- metadata +1 -1
data/lib/undress/greencloth.rb
CHANGED
data/test/test_greencloth.rb
CHANGED
@@ -158,7 +158,7 @@ class Undress::GreenClothTest < Test::Unit::TestCase
|
|
158
158
|
context "outline" do
|
159
159
|
test "table of contents toc" do
|
160
160
|
html = "<ul class='toc'><li class='toc1'><a href='#fruits'><span>1</span> Fruits</a></li><ul><li class='toc2'><a href='#tasty-apples'><span>1.1</span> Tasty Apples</a></li><ul><li class='toc3'><a href='green'><span>1.1.1</span> Green</a></li><li class='toc3'><a href='#red'><span>1.1.2</span> Red</a></li></ul>"
|
161
|
-
greencloth = "[[toc]]"
|
161
|
+
greencloth = "[[toc]]\n"
|
162
162
|
assert_renders_greencloth greencloth, html
|
163
163
|
end
|
164
164
|
|
data/undress.gemspec
CHANGED