diff options
author | Richard Wall <richard@largo> | 2010-12-30 23:56:16 +0000 |
---|---|---|
committer | Richard Wall <richard@largo> | 2010-12-30 23:56:16 +0000 |
commit | 04e45ad7e22505b1cd70f22e38e2cbb09e8a28a6 (patch) | |
tree | ef071a606315b917b0be06e1cbac4f7422d59b67 /jarmon/jarmon.test.js | |
parent | cc1d4b25ed125afd07204da980f5c9bc555b7862 (diff) |
step 2 - choose a label and unit
Diffstat (limited to 'jarmon/jarmon.test.js')
-rw-r--r-- | jarmon/jarmon.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jarmon/jarmon.test.js b/jarmon/jarmon.test.js index 0e548d5..b42f701 100644 --- a/jarmon/jarmon.test.js +++ b/jarmon/jarmon.test.js @@ -406,7 +406,7 @@ YUI({ logInclude: { TestRunner: true } }).use('console', 'test', function(Y) { setUp: function() { this.$tpl = $('<div/>').appendTo($('body')) var c = new jarmon.ChartConfig(this.$tpl); - c.draw(); + c.drawRrdUrlForm(); }, test_drawInitialForm: function () { @@ -440,7 +440,7 @@ YUI({ logInclude: { TestRunner: true } }).use('console', 'test', function(Y) { this.$tpl.find('form input[name=rrd_url]').val('build/test.rrd').submit(); this.wait( function() { - Y.Assert.areEqual(self.$tpl.find('input[name=rrd_ds]').size(), 1); + Y.Assert.areEqual(self.$tpl.find('input[name=rrd_ds_label]').size(), 1); }, 1000 ); }, |