This commit is contained in:
Chris Rodriguez
2015-11-30 13:24:58 -05:00
parent bb3ac95f24
commit 4161ae9980
2 changed files with 0 additions and 13 deletions

View File

@@ -25,12 +25,6 @@
expect($('.video_control.play')).toExist();
});
it('add ARIA attributes to play control', function () {
expect($('.video_control.play')).toHaveAttrs({
'aria-disabled': 'false'
});
});
it('can update state on play', function () {
state.el.trigger('play');
expect($('.video_control.play')).not.toExist();

View File

@@ -30,13 +30,6 @@
expect($('.skip-control')).toExist();
});
it('add ARIA attributes to play control', function () {
state.el.trigger('play');
expect($('.skip-control')).toHaveAttrs({
'aria-disabled': 'false'
});
});
it('can skip the video on click', function () {
spyOn(state.bumperState.videoBumper, 'skipAndDoNotShowAgain');
state.el.trigger('play');