Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(40)

Unified Diff: test/test_app.js

Issue 7060066: Improve login UX
Patch Set: Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/test_app.js
=== modified file 'test/test_app.js'
--- test/test_app.js 2013-01-09 15:55:25 +0000
+++ test/test_app.js 2013-01-09 19:59:55 +0000
@@ -52,7 +52,7 @@
.append(Y.Node.create('<span/>')
.set('id', 'environment-name'))
.append(Y.Node.create('<span/>')
- .set('id', 'provider-type'))
+ .addClass('provider-type'))
.hide();
app = new Y.juju.App(
{ container: container,
@@ -115,12 +115,12 @@
it('should show the provider type, when available', function() {
var providerType = 'excellent provider';
// Since no provider type has been set yet, none is displayed.
- assert.equal('', container.one('#provider-type').get('text'));
+ assert.equal('', container.one('.provider-type').get('text'));
app.env.set('providerType', providerType);
// The provider type has been displayed.
assert.equal(
'on ' + providerType,
- container.one('#provider-type').get('text')
+ container.one('.provider-type').get('text')
);
});

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b