FEATURE: Allow single option polls (#8853)

This commit is contained in:
Mark VanLandingham
2020-02-05 08:03:27 -06:00
committed by GitHub
parent 53529a3427
commit 5d97286fa7
7 changed files with 30 additions and 25 deletions

View File

@ -195,10 +195,17 @@ test("disableInsert", function(assert) {
controller.setProperties({
pollType: controller.regularPollType,
pollOptionsCount: 1
pollOptionsCount: 0
});
assert.equal(controller.disableInsert, true, "it should be true");
controller.setProperties({
pollType: controller.regularPollType,
pollOptionsCount: 1
});
assert.equal(controller.disableInsert, false, "it should be false");
});
test("number pollOutput", function(assert) {