Improve unit test for subscription template.

(imported from commit 607524b47d5fec7bd8630158b1060f0855d845aa)
This commit is contained in:
Steve Howell
2014-01-03 11:57:17 -05:00
parent 492159c312
commit 2079cb995a

View File

@@ -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);
}());