Remove useless tests

This commit is contained in:
Brandon Keepers 2016-10-14 00:12:28 -05:00
parent df94354033
commit acbf2ce7ed
No known key found for this signature in database
GPG Key ID: F9533396D5FACBF6
1 changed files with 0 additions and 20 deletions

View File

@ -1,20 +0,0 @@
const expect = require('expect');
const installations = require('../lib/installations');
const payload = require('./fixtures/webhook/installation.deleted');
describe('installation', () => {
describe('register', () => {
it('registers the installation', () => {
installations.register(payload.installation);
expect(installations.for('bkeepers-inc')).toEqual(payload.installation);
});
});
describe('unregister', () => {
it('unregisters the installation', () => {
installations.register(payload.installation);
installations.unregister(payload.installation);
expect(installations.for('bkeepers-inc')).toBe(undefined);
});
});
});