Skip to content

Commit

Permalink
test stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 18, 2013
1 parent a17ae28 commit fede1eb
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/unit/specs/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,15 @@ describe('UNIT: Directives', function () {
})

describe('component', function () {
// body...

it('should work with no args', function () {
assert.ok(false)
})

it('should work with arg (passed-in model from parent)', function () {
assert.ok(false)
})

})

describe('component-id', function () {
Expand Down
24 changes: 24 additions & 0 deletions test/unit/specs/viewmodel.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,30 @@ describe('UNIT: ViewModel', function () {

})

describe('.$appendTo', function () {
it('should pass', function () {
assert.ok(false)
})
})

describe('.$before', function () {
it('should pass', function () {
assert.ok(false)
})
})

describe('.$after', function () {
it('should pass', function () {
assert.ok(false)
})
})

describe('.$remove', function () {
it('should pass', function () {
assert.ok(false)
})
})

describe('.$destroy', function () {

// since this simply delegates to Compiler.prototype.destroy(),
Expand Down

0 comments on commit fede1eb

Please sign in to comment.