ArrayAssert = Y.ArrayAssert,
name: 'Methods',
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
});
},
'Y.Plugin.Button.createNode(config) should return a Y.Node with the specified `template` element': function () {
Assert.areSame('foo', anchorButton.getAttribute('href').split('#')[1], '`anchorButton` did not have href "#foo".');
}
}));
}, '@VERSION@', {
});