Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Show local charm icon in inspector #698
Conversation
hatched
added some commits
Mar 3, 2015
To QABecause the
Note: |
hatched
reviewed
Mar 4, 2015
| - panel.removeClass('animate-in'); | ||
| - container.hide(); | ||
| - | ||
| - store.charm(charm.get('storeId'), { |
hatched
Mar 4, 2015
Owner
This is not necessary because the BrowserCharmView handles fetching the data if it's not passed in.
hatched
reviewed
Mar 4, 2015
| @@ -210,7 +211,8 @@ describe('Inspector Charm', function() { | ||
| assert.equal(hideSlot.calledOnce(), true); | ||
| assert.equal(Y.one('.charmbrowser').hasClass('animate-in'), false); | ||
| assert.equal(view.get('container').getHTML(), ''); | ||
| - | ||
| + assert.equal(destructor.callCount(), 1); | ||
| + destructor.passThroughToOriginalMethod.call(view); |
hatched
Mar 4, 2015
Owner
There are minor test changes because the existing tests only tested the code which still remains.
|
Test FAILed. |
|
Spurious failure |
|
QA okay.
|
|
|
|
Looks good, thanks @hatched |
|
|
|
Status: merge request accepted. Url: http://ci.jujugui.org:8080/job/juju-gui-merge |
hatched commentedMar 4, 2015
Bug: https://bugs.launchpad.net/juju-gui/+bug/1427162
Fixes: