ソースを参照

Update context-test.js

pull/799/head
Arjun Rathi GitHub 3年前
コミット
716a1a4668
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更5行の追加0行の削除
  1. +5
    -0
      test/context-test.js

+ 5
- 0
test/context-test.js ファイルの表示

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


読み込み中…
キャンセル
保存