Tests: factory => closure components
This commit is contained in:
parent
d7f39a8254
commit
a8e5189f0b
3 changed files with 6 additions and 5 deletions
|
|
@ -60,7 +60,7 @@ o.spec("mount", function() {
|
|||
o(root.firstChild.nodeName).equals("DIV")
|
||||
})
|
||||
|
||||
o("renders into `root` factory (factory component)", function() {
|
||||
o("renders into `root` (closure component)", function() {
|
||||
mount(root, function(){
|
||||
return {
|
||||
view : function() {
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ o.spec("route", function() {
|
|||
|
||||
})
|
||||
|
||||
o("routed mount points can redraw synchronously (factory component)", function() {
|
||||
o("routed mount points can redraw synchronously (closure component)", function() {
|
||||
var view = o.spy()
|
||||
|
||||
function Cmp() {return {view: view}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue