Merge pull request #95 from rafaelfragosom/arrowfunctions

Replacing anonymous functions with arrow functions to keep the pattern of the tests
This commit is contained in:
Zeno Rocha 2015-10-15 17:27:58 -07:00
commit f0245ab701

View File

@ -18,7 +18,7 @@ describe('Clipboard', () => {
document.body.innerHTML = '';
});
describe('#resolveOptions', function() {
describe('#resolveOptions', () => {
before(() => {
global.fn = function() {};
});
@ -48,7 +48,7 @@ describe('Clipboard', () => {
});
});
describe('#delegateClick', function() {
describe('#delegateClick', () => {
before(() => {
global.spy = sinon.spy(Delegate, 'bind');
});
@ -69,7 +69,7 @@ describe('Clipboard', () => {
});
});
describe('#undelegateClick', function() {
describe('#undelegateClick', () => {
before(() => {
global.spy = sinon.spy(Delegate, 'unbind');
});