mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Improve unit test for subscription template.
(imported from commit 607524b47d5fec7bd8630158b1060f0855d845aa)
This commit is contained in:
@@ -428,6 +428,9 @@ function render(template_name, args) {
|
||||
|
||||
span = $(html).find(".rename-stream .sub_settings_title");
|
||||
assert.equal(span.text(), 'Administrator settings');
|
||||
|
||||
var div = $(html).find(".subscription-type");
|
||||
assert(div.text().indexOf('invite-only stream') > 0);
|
||||
}());
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user