Merge lp:~hatch/juju-gui/remove-strict-bundle-flag into lp:juju-gui/experimental
Proposed by
Jeff Pihach
Status: | Merged |
---|---|
Merged at revision: | 1155 |
Proposed branch: | lp:~hatch/juju-gui/remove-strict-bundle-flag |
Merge into: | lp:juju-gui/experimental |
Diff against target: |
136 lines (+24/-17) 4 files modified
app/subapps/browser/views/bundle.js (+3/-7) test/data/browserbundle.json (+18/-2) test/test_browser_app.js (+3/-3) test/test_bundle_details_view.js (+0/-5) |
To merge this branch: | bzr merge lp:~hatch/juju-gui/remove-strict-bundle-flag |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email:
|
Description of the change
Removes strictBundle flag
Also includes a driveby to fix some of the onboarding tests
To post a comment you must log in.
Reviewers: mp+192748_ code.launchpad. net,
Message:
Please take a look.
Description:
Removes strictBundle flag
Also includes a driveby to fix some of the onboarding tests
https:/ /code.launchpad .net/~hatch/ juju-gui/ remove- strict- bundle- flag/+merge/ 192748
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/17340043/
Affected files (+26, -17 lines): browser/ views/bundle. js browserbundle. json browser_ app.js bundle_ details_ view.js
A [revision details]
M app/subapps/
M test/data/
M test/test_
M test/test_
Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>
Index: test/test_ browser_ app.js browser_ app.js' browser_ app.js 2013-10-21 23:05:08 +0000 browser_ app.js 2013-10-25 21:00:21 +0000
=== modified file 'test/test_
--- test/test_
+++ test/test_
@@ -1251,7 +1251,7 @@
- window.
+ window.flags = {};
});
@@ -1272,7 +1272,7 @@
- window.
+ window.flags = {};
});
@@ -1292,7 +1292,7 @@
- window.
+ window.flags = {};
});
Index: test/test_ bundle_ details_ view.js bundle_ details_ view.js' bundle_ details_ view.js 2013-10-24 21:03:02 +0000 bundle_ details_ view.js 2013-10-25 21:00:21 +0000
=== modified file 'test/test_
--- test/test_
+++ test/test_
@@ -148,7 +148,6 @@
it('fails gracefully if services don\'t provide xy annotations',
view. _parseData = function() { function( resolve) { resolve(); }); Bundle( data));
view. render( );
assert. isNull( container. one('#bws- bundle' ));
assert. isNull( container. one('a[ href=#bws- bundle] '));
assert. equal(view. tabview. get('selection' ).get(' index') , 2);
function() {
- window.flags = { strictBundle: true };
return new Y.Promise(
};
@@ -170,17 +169,14 @@
}
};
}});
- view.set('entity', new models.
// Check that the charms tab is the landing tab
- window.flags = {};
});
it('renders the bundle topology into the view', function(done) { _parseData = function() { function( resolve) { resolve(); });
assert. isNotNull( container. one('.topology- canvas' ));
- window.flags = { strictBundle: true };
view.
return new Y.Promise(
};
@@ -219,7 +215,6 @@
// Check that the bundle topology tab is the landing tab.
asse...