소스 검색

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

Update context-test.js
pull/799/head
Himanshi Gupta GitHub 3 년 전
부모
커밋
4840a76297
No known key found for this signature in database 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');


불러오는 중...
취소
저장