button-plugin-test.js revision 6b37812e1912808e0a6ae05310e3e71ddd5038ad
ArrayAssert = Y.ArrayAssert,
name: 'button plugin factory',
setUp : function () {
this.label = "Hello";
},
tearDown: function () {
},
'node.plug(Y.Plugin.Button, config) should return a Y.Node instance with Button functionality': function () {
var newLabel = 'World';
var button;
disabled: true
});
},
'Y.Plugin.Button.createNode(srcNode) should return a Y.Node instance with Button functionality': function () {
var newLabel = 'World';
var button;
},
'Y.Plugin.Button.createNode(srcNode, config) should return a Y.Node instance with Button functionality': function () {
var newLabel = 'World';
var button;
'label': newLabel,
'disabled': true
});
},
'Y.Plugin.Button.createNode(config) should return a Y.Node instance with Button functionality': function () {
var newLabel = 'World';
var button;
disabled: true
});
}
}));
}, '@VERSION@', {
});