Merge pull request #1647 from velesin/notifications_controller_test_fix
fixes Ember's deprecation errors in NotificationsController unit tests
This commit is contained in:
commit
9165769da2
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ module("Discourse.NotificationsController", {
|
||||||
controller = Discourse.NotificationsController.create();
|
controller = Discourse.NotificationsController.create();
|
||||||
|
|
||||||
view = Ember.View.create({
|
view = Ember.View.create({
|
||||||
|
container: Discourse.__container__,
|
||||||
controller: controller,
|
controller: controller,
|
||||||
templateName: "notifications"
|
templateName: "notifications"
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue