diff --git a/wherehows-web/tests/integration/components/datasets/schemaless-tagging-test.js b/wherehows-web/tests/integration/components/datasets/schemaless-tagging-test.js index b6d4ef1556..e498d9c8ae 100644 --- a/wherehows-web/tests/integration/components/datasets/schemaless-tagging-test.js +++ b/wherehows-web/tests/integration/components/datasets/schemaless-tagging-test.js @@ -1,4 +1,4 @@ -import { moduleForComponent, test, skip } from 'ember-qunit'; +import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; import { Classification } from 'wherehows-web/constants'; @@ -30,25 +30,6 @@ test('it correctly indicates if the dataset has pii', function(assert) { assert.notOk(document.querySelector('.toggle-switch').checked, 'checkbox is unchecked when false'); }); -test('it invokes the onClassificationChange external action when change is triggered', function(assert) { - assert.expect(2); - let onClassificationChangeCallCount = 0; - - this.set('isEditable', true); - this.set('classification', Classification.LimitedDistribution); - this.set('onClassificationChange', () => { - assert.equal(++onClassificationChangeCallCount, 1, 'successfully invokes the external action'); - }); - - this.render( - hbs`{{datasets/schemaless-tagging isEditable=isEditable onClassificationChange=onClassificationChange classification=classification}}` - ); - - assert.equal(onClassificationChangeCallCount, 0, 'external action is not invoked on instantiation'); - - triggerEvent('select', 'change'); -}); - test('it invokes the onPersonalDataChange external action on when toggled', function(assert) { assert.expect(3);