Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dturn committed Sep 11, 2019
1 parent c4a56fb commit 78bb04a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/partials/no-doc-seperator.yml.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This doc has no yaml seperator
# The first doc has no yaml separator
key1: foo
---
key2: bar
2 changes: 1 addition & 1 deletion test/integration/render_task_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def test_render_valid_fixtures
def test_render_only_adds_initial_doc_seperator_when_missing
render = build_render_task(fixture_path('partials'))
fixture = 'no-doc-seperator.yml.erb'
expected = "---\n# This doc has no yaml seperator\nkey1: foo\n---\nkey2: bar\n"
expected = "---\n# The first doc has no yaml separator\nkey1: foo\n---\nkey2: bar\n"

assert_render_success(render.run(mock_output_stream, [fixture, fixture]))
stdout_assertion do |output|
Expand Down

0 comments on commit 78bb04a

Please sign in to comment.