mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Diff should be inverted
This commit is contained in:
parent
a2bb715d8d
commit
b5939a3568
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module RenderAssertion
|
|||
options.delete(:error_with)
|
||||
options = { escape_html: true, ugly: true}.merge(options)
|
||||
haml, html = haml.unindent, html.unindent
|
||||
assert_equal render(haml, options), html
|
||||
assert_equal html, render(haml, options)
|
||||
end
|
||||
|
||||
def render(text, options = {}, base = nil, &block)
|
||||
|
|
Loading…
Reference in a new issue