Skip to content

Commit

Permalink
ERB template test
Browse files Browse the repository at this point in the history
  • Loading branch information
ttscoff committed Oct 16, 2021
1 parent 4be20f9 commit 5b449e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/doing_output_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def test_template_command
assert_match(/^!!!\s*\n%html/, result, 'Output should be a HAML template')
result = doing('template', 'css')
assert_match(/^body \{/, result, 'Output should be a CSS template')
result = doing('template', 'markdown')
assert_match(/^# <%=/, result, 'Output should be an ERB template')
end

private
Expand Down

0 comments on commit 5b449e5

Please sign in to comment.