~matsubara/juju-gui/tarmac-test

« back to all changes in this revision

Viewing changes to test/test_login.js

  • Committer: Matthew Scott
  • Date: 2013-01-09 17:23:33 UTC
  • mfrom: (307 juju-gui)
  • mto: This revision was merged to the branch mainline in revision 312.
  • Revision ID: matthew.scott@canonical.com-20130109172333-ad6ndevmn5p44dz0
Merging with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
(function() {
4
4
 
5
 
  var requires = ['node', 'juju-gui', 'juju-views', 'juju-tests-utils'];
6
 
  var Y = YUI(GlobalConfig).use(requires);
7
 
 
8
5
  describe('environment login support', function() {
9
 
    var conn, env, utils, juju, makeLoginView, views, app;
 
6
    var requires = ['node', 'juju-gui', 'juju-views', 'juju-tests-utils'];
 
7
    var Y, conn, env, utils, juju, makeLoginView, views, app;
10
8
    var test = it; // We aren't really doing BDD so let's be more direct.
11
9
 
12
10
    before(function() {
 
11
      Y = YUI(GlobalConfig).use(requires);
13
12
      utils = Y.namespace('juju-tests.utils');
14
13
      juju = Y.namespace('juju');
15
14
    });