summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorPieter van de Bruggen <pvande@gmail.com>2010-10-20 23:09:15 -0700
committerPieter van de Bruggen <pvande@gmail.com>2010-10-20 23:13:05 -0700
commit6984797a6bf5ab38c6bfa0c6617a862bfe074e08 (patch)
treea3ee70c9d8cf18a389b1b30d252dbc745ebd057f /specs
parent329773b9845692454dee2e163e345d62ca3db0e4 (diff)
downloadmustache-spec-6984797a6bf5ab38c6bfa0c6617a862bfe074e08.tar.gz
Consolidating and defining the lambda specs.
Diffstat (limited to 'specs')
-rw-r--r--specs/lambdas.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/specs/lambdas.yml b/specs/lambdas.yml
index 97f18cf..6135ff3 100644
--- a/specs/lambdas.yml
+++ b/specs/lambdas.yml
@@ -1,5 +1,5 @@
tests:
- - name: Basic Interpolation
+ - name: Interpolation
desc: A lambda's return value should be interpolated.
data:
lambda: !code
@@ -8,7 +8,7 @@ tests:
template: "Hello, {{lambda}}!"
expected: "Hello, world!"
- - name: Basic Interpolation
+ - name: Interpolation - Expansion
desc: A lambda's return value should be parsed.
data:
planet: "world"
@@ -47,7 +47,7 @@ tests:
template: "<{{#lambda}}{{x}}{{/lambda}}>"
expected: "<yes>"
- - name: Section Expansion
+ - name: Section - Expansion
desc: Lambdas used for sections should have their results parsed.
data:
planet: "Earth"