mirror of
https://github.com/discourse/discourse.git
synced 2025-05-01 11:24:32 +08:00
FIX: Broken test, data-auto-route
is no longer needed
This commit is contained in:
parent
1c90b8dd76
commit
2f911d9435
@ -18,7 +18,6 @@ widgetTest('basics', {
|
|||||||
|
|
||||||
test(assert) {
|
test(assert) {
|
||||||
assert.ok(this.$('.title').length === 1);
|
assert.ok(this.$('.title').length === 1);
|
||||||
assert.ok(this.$('a[data-auto-route]').length === 1);
|
|
||||||
|
|
||||||
assert.ok(this.$('img#site-logo.logo-big').length === 1);
|
assert.ok(this.$('img#site-logo.logo-big').length === 1);
|
||||||
assert.equal(this.$('#site-logo').attr('src'), bigLogo);
|
assert.equal(this.$('#site-logo').attr('src'), bigLogo);
|
||||||
@ -52,8 +51,6 @@ widgetTest('no logo', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
test(assert) {
|
test(assert) {
|
||||||
assert.ok(this.$('a[data-auto-route]').length === 1);
|
|
||||||
|
|
||||||
assert.ok(this.$('h2#site-text-logo.text-logo').length === 1);
|
assert.ok(this.$('h2#site-text-logo.text-logo').length === 1);
|
||||||
assert.equal(this.$('#site-text-logo').text(), title);
|
assert.equal(this.$('#site-text-logo').text(), title);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user