mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 08:55:56 +08:00
fixes Ember's deprecation errors in NotificationsController unit tests
This commit is contained in:
parent
e9f9d22482
commit
e41774a0ea
@ -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"
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user