Guide for v.2.18.0
Section: Tutorial / Creating a Handlebars Helper / Integration Test
For test: “it renders correctly for a Standalone rental”
Lines to add (in green) should be:
test(‘it renders correctly for a Standalone rental’, function(assert) {
AND
assert.equal(this.$().text().trim(), ‘Standalone’);
Lines to remove (in red) should be:
assert.equal(this.$().text().trim(), ‘1234’);
Hey @ck7 thanks for letting us know about this issue
I’m wondering if you are interested in making this change yourself? Have you had much experience contributing to the guides? I can help walk you through this one if that helps
I suspect it’s a tiny change so it might even be possible to change directly on Github, I don’t know if you noticed it but there is a pencil icon on the top right of the guide that should drop you in to the editor of the exact page you need to edit.
Hello, thank you for the suggestion. I have never edited a mark-down file before. So here is the change I made on github after clicking the pencil icon. Hopefully that makes the expected change (I am not sure how to review it)
To:
+```javascript {data-filename=“tests/integration/helpers/rental-property-type-test.js” data-diff=“-9,-10,+11,-16, +17,+12,+13,+18,+21,+22,+23,+24,+25,+26,+27”}
I usually wouldn’t recommend people to do this if they are making small changes to the guides but if you did want to see something like which lines are rendered as additions/subtractions on that diff then this is a good thing to get setup