Always check that the rendering output is well-formed
This commit is contained in:
parent
2f43e4a603
commit
a61c11854d
|
@ -156,8 +156,7 @@ class StubUrlGenerator < AbstractUrlGenerator
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if defined? $validate_xml_in_assert_success and $validate_xml_in_assert_success == true
|
module Test
|
||||||
module Test
|
|
||||||
module Unit
|
module Unit
|
||||||
module Assertions
|
module Assertions
|
||||||
def assert_success(bypass_body_parsing = false)
|
def assert_success(bypass_body_parsing = false)
|
||||||
|
@ -168,5 +167,4 @@ if defined? $validate_xml_in_assert_success and $validate_xml_in_assert_success
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue