summaryrefslogtreecommitdiff
path: root/spec/unit/pops/parser/epp_parser_spec.rb
AgeCommit message (Collapse)AuthorFilesLines
2014-08-01(PUP-2898) Add 4x style resource expressionsHenrik Lindberg1-9/+38
This changes the following: * Assignment has lower precedence than resource expressions * Local defaults are supported in resource instantiation expressions * A Resource body may have a new expression AttributesOperation that must evaluate to a hash. * Stricter validation of resource titles * Changes to TreeModelDumper wrt how BlockExpression is rendered (to improve debugging output). As a consequence many tests needed adjustments. * Tests that previously passed have been modified because of stricter validation. This also includes maintenance. Removing dead code/fixing stale comments and documentation.
2014-03-08(PUP-1897) Improve test of EPP trim, and expr after paramsHenrik Lindberg1-0/+8
This adds tests for render single expression with trim, and for sequence of expressions after opening parameters.
2014-03-07(PUP-1895) Change <%( )%> to <%| |%> for EPP parametersHenrik Lindberg1-3/+3
2014-03-06(PUP-30) Fix tests and issues occurring when running testsHenrik Lindberg1-8/+9
2014-03-06(PUP-30) Add tests for epp parser and make them passHenrik Lindberg1-0/+77
This adds tests for parsing epp. A typo was corrected when checking for unbalanced <% %> at the end of the epp input. This caused error not to be raised. (Tests should have been included in an earlier commit).