Browse files

update output for helper spec

  • Loading branch information...
1 parent 661f1f9 commit fe7c12e1959808fd6d79243183fc17d439b28175 @zzak committed Mar 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/glorify_spec.rb
View
4 spec/glorify_spec.rb
@@ -11,7 +11,7 @@
Tilt.prefer Sinatra::Glorify::Template
get('/') { markdown :header }
end
- expected = "<h1>a sip of glory</h1>"
+ expected = "<h1 id=\"label-a+sip+of+glory\">a sip of glory<span><a href=\"#label-a+sip+of+glory\">&para;</a> <a href=\"#documentation\">&uarr;</a></span></h1>"
get('/')
assert ok?
assert_equal expected, body
@@ -22,7 +22,7 @@
Tilt.prefer Sinatra::Glorify::Template
get('/') { markdown :blocks }
end
- expected = "<p><code>puts &quot;Hello, world!&quot;</code></p>"
+ expected = "<pre class=\"highlight text\">&quot;Hello, world!&quot;</pre>"
get('/')
assert ok?
assert_equal expected, body

0 comments on commit fe7c12e

Please sign in to comment.