OLD | NEW |
| 1 /* |
| 2 This file is part of the Juju GUI, which lets users view and manage Juju |
| 3 environments within a graphical interface (https://launchpad.net/juju-gui). |
| 4 Copyright (C) 2012-2013 Canonical Ltd. |
| 5 |
| 6 This program is free software: you can redistribute it and/or modify it under |
| 7 the terms of the GNU Affero General Public License version 3, as published by |
| 8 the Free Software Foundation. |
| 9 |
| 10 This program is distributed in the hope that it will be useful, but WITHOUT |
| 11 ANY WARRANTY; without even the implied warranties of MERCHANTABILITY, |
| 12 SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero |
| 13 General Public License for more details. |
| 14 |
| 15 You should have received a copy of the GNU Affero General Public License along |
| 16 with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 */ |
| 18 |
1 'use strict'; | 19 'use strict'; |
2 | 20 |
3 (function() { | 21 (function() { |
4 | 22 |
5 describe('browser_charm_view', function() { | 23 describe('browser_charm_view', function() { |
6 var container, CharmView, models, node, view, views, Y; | 24 var container, CharmView, models, node, view, views, Y; |
7 | 25 |
8 before(function(done) { | 26 before(function(done) { |
9 Y = YUI(GlobalConfig).use( | 27 Y = YUI(GlobalConfig).use( |
10 'datatype-date', | 28 'datatype-date', |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
645 view.hideIndicator = function() { | 663 view.hideIndicator = function() { |
646 hit += 1; | 664 hit += 1; |
647 hit.should.equal(2); | 665 hit.should.equal(2); |
648 done(); | 666 done(); |
649 }; | 667 }; |
650 view.render(); | 668 view.render(); |
651 }); | 669 }); |
652 }); | 670 }); |
653 | 671 |
654 })(); | 672 })(); |
OLD | NEW |