2019-10-09 22:52:55 -04:00
|
|
|
import { acceptance } from "helpers/qunit-helpers";
|
|
|
|
|
2020-01-09 22:24:39 -05:00
|
|
|
acceptance("Discourse Subscriptions", {
|
2019-11-06 19:30:40 -05:00
|
|
|
settings: {
|
2019-12-03 19:53:05 -05:00
|
|
|
discourse_subscriptions_extra_nav_subscribe: true
|
2019-11-06 19:30:40 -05:00
|
|
|
}
|
|
|
|
});
|
2019-10-09 22:52:55 -04:00
|
|
|
|
|
|
|
QUnit.test("plugin outlets", async assert => {
|
|
|
|
await visit("/");
|
|
|
|
|
|
|
|
assert.ok(
|
|
|
|
$("#navigation-bar .discourse-patrons-subscribe").length,
|
|
|
|
"has a subscribe button"
|
|
|
|
);
|
|
|
|
});
|