Explorar el Código

Update context-test.js

pull/799/head
Arjun Rathi GitHub hace 3 años
padre
commit
716a1a4668
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      test/context-test.js

+ 5
- 0
test/context-test.js Ver fichero

@@ -30,6 +30,11 @@ describe('A new Mustache.Context', function () {
assert.equal(context.view.name, 'child');
assert.equal(context.parent.view.name, 'parent');
});
it('arjun-new. ---returns the child context', function () {
assert.equal(context.view.name, 'child');
assert.equal(context.parent.view.name, 'parent');
});

it('is able to lookup properties of its own view', function () {
assert.equal(context.lookup('name'), 'child');


Cargando…
Cancelar
Guardar