diff options
Diffstat (limited to 'spec/frontend/issuable/components/csv_import_modal_spec.js')
-rw-r--r-- | spec/frontend/issuable/components/csv_import_modal_spec.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/frontend/issuable/components/csv_import_modal_spec.js b/spec/frontend/issuable/components/csv_import_modal_spec.js index f4636fd7e6a..6e954c91f46 100644 --- a/spec/frontend/issuable/components/csv_import_modal_spec.js +++ b/spec/frontend/issuable/components/csv_import_modal_spec.js @@ -76,6 +76,10 @@ describe('CsvImportModal', () => { expect(formSubmitSpy).toHaveBeenCalled(); }); + + it('displays the cancel button', () => { + expect(findModal().props('actionCancel')).toEqual({ text: __('Cancel') }); + }); }); }); }); |