summaryrefslogtreecommitdiff
path: root/spec/unit/functions/inline_epp_spec.rb
AgeCommit message (Collapse)AuthorFilesLines
2014-07-14(PUP-2883) Allow empty body in epp templatesHenrik Lindberg1-0/+10
This allows an epp body to be empty by making grammar accept an empty list of statements. This avoids getting a cryptic error message about "syntax error at end of file" when using parameters, but having no body that produces output, or when having a completely empty template.
2014-06-27(PUP-2845) Move the inline_epp function to the new function API.Henrik Lindberg1-0/+87
This moves the function inline_epp to use the new function API. This also improves the argument checking since it is not not possible to leak non variable name compliant variables into the scope.