Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Conversation

@gkalpak
Copy link
Member

@gkalpak gkalpak commented Feb 13, 2016

Fixes #14022

@gkalpak
Copy link
Member Author

gkalpak commented Feb 13, 2016

I can't think of any problems that this change might create, but maybe I'm missing something...

expect($rootElement.text()).toEqual('');
}));

it('should attack the `$injector` to `$rootElement`', inject(function($injector, $rootElement) {
Copy link
Contributor

Choose a reason for hiding this comment

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

attack -> attach

@Narretz
Copy link
Contributor

Narretz commented Feb 14, 2016

LGTM (except for the typo)
It's not super important, but it's consistent with the non-mock version.

@gkalpak gkalpak closed this in 88bb551 Feb 16, 2016
gkalpak added a commit that referenced this pull request Feb 16, 2016
gkalpak added a commit that referenced this pull request Feb 16, 2016
@gkalpak
Copy link
Member Author

gkalpak commented Feb 16, 2016

Fixed the typo and merged. Thx !
Backported to v1.5.x (1a94ac9) and v1.4.x (fad4dc0).

@gkalpak gkalpak deleted the fix-ngMocks-attach-injector-to-rootElement branch February 16, 2016 19:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants