Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Fire destroy-inspector event when a zip is dropped on the canvas fixes #1278559 #121

Merged
merged 1 commit into from Feb 11, 2014

Conversation

hatched
Copy link
Contributor

@hatched hatched commented Feb 11, 2014

To QA
Deploy a charm and open the service inspector.
Drop a .zip onto the canvas and the old inspector should close and the series-select inspector should open.

// Check to make sure the event to destroy any previously
// open inspector is fired
assert.equal(topoFireStub.calledOnce(), true);
assert.equal(topoFireStub.lastArguments()[0], 'destroyServiceInspector');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The topoFireStub code is the new test addition. The rest is just refactor to use the makeStubMethod util method.

@jujugui
Copy link
Contributor

jujugui commented Feb 11, 2014

Test PASSed.
Refer to this link for build results: http://ci.jujugui.org:8080/job/juju-gui/384/

@mitechie
Copy link
Contributor

QA ok, thanks for the branch. 👍

@hatched
Copy link
Contributor Author

hatched commented Feb 11, 2014

Thanks for the review! :shipit:

@jujugui
Copy link
Contributor

jujugui commented Feb 11, 2014

Status: merge request accepted. Url: http://ci.jujugui.org:8080/job/juju-gui-merge

jujugui added a commit that referenced this pull request Feb 11, 2014
__To QA__
Deploy a charm and open the service inspector.
Drop a .zip onto the canvas and the old inspector should close and the series-select inspector should open.
@jujugui jujugui merged commit 3e482e0 into juju:develop Feb 11, 2014
@hatched hatched deleted the inspector-covered-1278559 branch February 13, 2014 20:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants