From 198af3e6ccf55a8c9b5db4cce813fae14718ae30 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sat, 6 May 2017 18:55:36 -0700 Subject: [PATCH] fix --- .../test/components/MapView/ImportDialogBox.spec.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/test/components/MapView/ImportDialogBox.spec.js b/frontend/test/components/MapView/ImportDialogBox.spec.js index 6e24afd0..7151230e 100644 --- a/frontend/test/components/MapView/ImportDialogBox.spec.js +++ b/frontend/test/components/MapView/ImportDialogBox.spec.js @@ -26,8 +26,16 @@ describe('ImportDialogBox', function() { expect(exporter).to.have.property('callCount', 1) }) } - testExportButton('has an Export CSV button', '.export-csv', csvExport) - testExportButton('has an Export JSON button', '.export-json', jsonExport) + testExportButton({ + description: 'has an Export CSV button', + cssClass: '.export-csv', + exporter: csvExport + }) + testExportButton({ + description: 'has an Export JSON button', + cssClass: '.export-json', + exporter: jsonExport + }) it('has a Download screenshot button', () => { const downloadScreenshot = sinon.spy()