Refactor #35196
closed
Use assert_equal in rendered template snapshots
Added by Ewoud Kohl van Wijngaarden over 2 years ago.
Updated over 2 years ago.
Description
The current code uses assert false, "Rendered template ..."
but this doesn't show you exactly what's wrong in a report like on Jenkins. By using assert_equal a diff is shown in the report.
- Status changed from New to Ready For Testing
- Assignee set to Ewoud Kohl van Wijngaarden
- Pull request https://github.com/theforeman/foreman/pull/9300 added
- Pull request https://github.com/theforeman/foreman/pull/9295 added
- Fixed in Releases 3.4.0 added
- Pull request deleted (
https://github.com/theforeman/foreman/pull/9295)
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF