I have some integration tests that usually look like this:
test('can load with available teams', function () {
visit('/workforce/admin/organizations/create').then(function () {
var controller = App.__container__.lookup('controller:organizations.create');
...
});
});
The underscores in the App .__ container indicate (at least for me) that this is a private property and should not be accessed from outside.
Is there a better way / template to achieve this?
source
share