diff --git a/addon/utils/bind-data-test-attributes.js b/addon/utils/bind-data-test-attributes.js index 3083f8f0..5c87cdd9 100644 --- a/addon/utils/bind-data-test-attributes.js +++ b/addon/utils/bind-data-test-attributes.js @@ -30,7 +30,7 @@ export default function bindDataTestAttributes(component) { id: 'ember-test-selectors.empty-tag-name', }); - let attributeBindings = component.getWithDefault('attributeBindings', []); + let attributeBindings = component.get('attributeBindings') || []; if (!isArray(attributeBindings)) { attributeBindings = [attributeBindings]; } else {