| Index: lib/src/iron-behaviors/test/active-state.html
|
| diff --git a/lib/src/iron-behaviors/test/active-state.html b/lib/src/iron-behaviors/test/active-state.html
|
| index 0fa6fdcf89c37ce13b661bcf1cab6d13403ef950..5a9447689ca8351bb065f0f91f37e352f695c71a 100644
|
| --- a/lib/src/iron-behaviors/test/active-state.html
|
| +++ b/lib/src/iron-behaviors/test/active-state.html
|
| @@ -41,20 +41,18 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| activeTarget = fixture('TrivialActiveState');
|
| });
|
|
|
| - suite('non-primary pointer input source', function() {
|
| - test('does not cause state to change', function() {
|
| - var rightClickMouseEvent = new CustomEvent('mousedown');
|
| - rightClickMouseEvent.buttons = 2;
|
| - activeTarget.dispatchEvent(rightClickMouseEvent);
|
| - expect(activeTarget.pressed).to.be.equal(false);
|
| - });
|
| - });
|
| -
|
| suite('active state with toggles attribute', function() {
|
| setup(function() {
|
| activeTarget = fixture('ToggleActiveState');
|
| });
|
|
|
| + suite('when down', function() {
|
| + test('is pressed', function() {
|
| + MockInteractions.down(activeTarget);
|
| + expect(activeTarget.hasAttribute('pressed')).to.be.eql(true);
|
| + });
|
| + });
|
| +
|
| suite('when clicked', function() {
|
| test('is activated', function(done) {
|
| MockInteractions.downAndUp(activeTarget, function() {
|
|
|