Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

setOwner sets the container in Ember 1 #35

Merged
merged 1 commit into from
May 18, 2020
Merged

Conversation

mmun
Copy link
Member

@mmun mmun commented May 15, 2020

No description provided.

@mmun mmun force-pushed the better-setOwner-in-Ember-1 branch from 699f9a2 to 4679b88 Compare May 15, 2020 21:56
assert.ok(!!foo.get('session'), 'session injection exists');
});

test('[Ember 1.x]: setOwner does not crash if the owner does not have a container', function(assert) {
Copy link
Member Author

Choose a reason for hiding this comment

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

this isn't really testing anything important, just added it as a sanity check

@mmun mmun changed the base branch from ember-cli-babel to master May 15, 2020 23:01
@mmun mmun force-pushed the better-setOwner-in-Ember-1 branch 2 times, most recently from 332770c to 23c3949 Compare May 16, 2020 20:10
@mmun mmun force-pushed the better-setOwner-in-Ember-1 branch from 23c3949 to aeb1f67 Compare May 16, 2020 23:28
@mmun mmun dismissed rwjblue’s stale review May 16, 2020 23:59

Misunderstanding

@mmun mmun requested a review from rwjblue May 16, 2020 23:59
@rwjblue rwjblue added the bug label May 17, 2020
@rwjblue rwjblue merged commit 6ef7b21 into master May 18, 2020
@rwjblue rwjblue deleted the better-setOwner-in-Ember-1 branch May 18, 2020 15:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants