aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorTeddy Wing2017-06-08 18:13:12 +0200
committerTeddy Wing2017-06-08 18:13:12 +0200
commit7319d9d1324db3da7da4ed441594aa5d05c1feec (patch)
treeaea309b319f8f4ca8092da323d50d6e2fc29f1b6 /Gemfile
parent5d9ed9d90ada31f9ee895111613d970473981096 (diff)
downloadchouette-core-7319d9d1324db3da7da4ed441594aa5d05c1feec.tar.bz2
TableBuilder spec: Beautify actual HTML result
In order to allow us to easily compare the HTML result with the expected value, beautify the HTML that comes out of the helper call. Otherwise, all the HTML is on a single line, and it can't be compared with RSpec's diff output (even if RSpec outputted the entire contents of the single line, we wouldn't really be able to compare it). Thanks to this post for describing an easy way to get HTML beautification: https://stackoverflow.com/questions/5622269/how-to-beautify-xml-code-in-rails-application We need to run the expected HTML string through the beautifier so we can get the formatting right, but otherwise this gives us a better base for test diffing. Refs #3479
Diffstat (limited to 'Gemfile')
0 files changed, 0 insertions, 0 deletions