mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 13:21:01 +08:00
DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808)
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com> Co-Authored-By: David Taylor <david@taylorhq.com>
This commit is contained in:
@ -12,7 +12,7 @@ widgetTest("rendering basics", {
|
||||
|
||||
widgetTest("sign up / login buttons", {
|
||||
template:
|
||||
'{{mount-widget widget="header" showCreateAccount="showCreateAccount" showLogin="showLogin" args=args}}',
|
||||
'{{mount-widget widget="header" showCreateAccount=(action "showCreateAccount") showLogin=(action "showLogin") args=args}}',
|
||||
anonymous: true,
|
||||
|
||||
beforeEach() {
|
||||
@ -35,7 +35,7 @@ widgetTest("sign up / login buttons", {
|
||||
|
||||
widgetTest("anon when login required", {
|
||||
template:
|
||||
'{{mount-widget widget="header" showCreateAccount="showCreateAccount" showLogin="showLogin" args=args}}',
|
||||
'{{mount-widget widget="header" showCreateAccount=(action "showCreateAccount") showLogin=(action "showLogin") args=args}}',
|
||||
anonymous: true,
|
||||
|
||||
beforeEach() {
|
||||
@ -55,7 +55,7 @@ widgetTest("anon when login required", {
|
||||
|
||||
widgetTest("logged in when login required", {
|
||||
template:
|
||||
'{{mount-widget widget="header" showCreateAccount="showCreateAccount" showLogin="showLogin" args=args}}',
|
||||
'{{mount-widget widget="header" showCreateAccount=(action "showCreateAccount") showLogin=(action "showLogin") args=args}}',
|
||||
|
||||
beforeEach() {
|
||||
this.set("args", { canSignUp: true });
|
||||
|
Reference in New Issue
Block a user