Fix if statement indent in #be_html_spec matcher

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2639/head
Alex Coles 10 years ago
parent 3189ce519b
commit cf40b1628b
  1. 8
      spec/support/matchers/be_html_eql.rb

@ -38,10 +38,10 @@
match do |actual|
@actual = if path
html(actual).css(path)
else
actual
end
html(actual).css(path)
else
actual
end
EquivalentXml.equivalent?(self.actual, expected, {})
end

Loading…
Cancel
Save