Kaynağa Gözat

Merge pull request #1 from arjun-rathi/patch-1

Update context-test.js
pull/799/head
Himanshi Gupta GitHub 3 yıl önce
ebeveyn
işleme
4840a76297
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. +5
    -0
      test/context-test.js

+ 5
- 0
test/context-test.js Dosyayı Görüntüle

@@ -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');


Yükleniyor…
İptal
Kaydet