Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove flash.destroy as it fails on latest builds of Ember #218

Merged
merged 1 commit into from
Nov 30, 2016

Conversation

sbatson5
Copy link
Collaborator

Master was getting failures when trying to run flash.destroy() on unit level tests of our component:
Assertion Failed: Cannot call writeDeps after the object is destroyed.

@@ -26,10 +26,6 @@ moduleForComponent('flash-message', 'FlashMessageComponent', {
},

afterEach() {
run(() => {
flash.destroy();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@poteto Let me know if this fix seems appropriate. It resolves all the failing tests in beta and alpha:
https://circleci.com/gh/poteto/ember-cli-flash/323?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

@sbatson5 sbatson5 merged commit 91970c5 into master Nov 30, 2016
@sbatson5 sbatson5 deleted the fix-failing-tests-on-master branch November 30, 2016 15:34
@sbatson5 sbatson5 mentioned this pull request Dec 7, 2016
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant