diff --git a/tests/acceptance/bind-data-test-attributes-in-components-test.js b/tests/acceptance/bind-data-test-attributes-in-components-test.js index fd1ff099..0164069e 100644 --- a/tests/acceptance/bind-data-test-attributes-in-components-test.js +++ b/tests/acceptance/bind-data-test-attributes-in-components-test.js @@ -63,4 +63,7 @@ if (!config.stripTestSelectors) { assert.equal(find('.test10').find('div[data-test]').length, 0, 'data-test does not exists'); }); + test('it transforms data-test params to hash pairs on components', function(assert) { + assert.equal(find('.test11').find('div[data-test-something]').length, 1, 'data-test-something exists'); + }); } diff --git a/tests/dummy/app/templates/bind-test.hbs b/tests/dummy/app/templates/bind-test.hbs index 533f59da..0965a5db 100644 --- a/tests/dummy/app/templates/bind-test.hbs +++ b/tests/dummy/app/templates/bind-test.hbs @@ -17,3 +17,5 @@