Skip to content

Commit 610d7a9

Browse files
committed
teach acceptance test to work on the last day of the month
1 parent 05f5df6 commit 610d7a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/javascripts/acceptance/topic-edit-timer-test.js.es6

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ QUnit.test('auto delete', assert => {
143143
});
144144

145145
expandSelectKit('.future-date-input-selector');
146-
selectKitSelectRow('next_month', { selector: '.future-date-input-selector' });
146+
selectKitSelectRow('two_weeks', { selector: '.future-date-input-selector' });
147147
andThen(() => {
148-
assert.equal(selectKit('.future-date-input-selector').header.name(), 'Next month');
148+
assert.equal(selectKit('.future-date-input-selector').header.name(), 'Two Weeks');
149149
const regex = /will be automatically deleted/g;
150150
const html = find('.future-date-input .topic-status-info').html().trim();
151151
assert.ok(regex.test(html));

0 commit comments

Comments
 (0)