diff --git a/test/stubs/eventData.mock.js b/test/stubs/eventData.mock.js index d374aacb..8a18ac98 100644 --- a/test/stubs/eventData.mock.js +++ b/test/stubs/eventData.mock.js @@ -8,7 +8,7 @@ module.exports = { 'diff_url': 'https://github.com/Kibibit/achievibit/pull/68.diff', 'patch_url': 'https://github.com/Kibibit/achievibit/pull/68.patch', 'issue_url': 'https://api.github.com/repos/Kibibit/achievibit/issues/68', - 'number': 68, + 'number': 1, 'state': 'open', 'locked': false, 'title': 'new_title', diff --git a/test/utilities.js b/test/utilities.js index 5c82df5c..03ce5e4e 100644 --- a/test/utilities.js +++ b/test/utilities.js @@ -108,7 +108,7 @@ describe('achievibit Utilities', function() { 'history', 'repository' ); - expect(pullRequest).to.not.include.keys('organization', 'reviewers'); + expect(pullRequest).to.not.include.keys('organization', 'assignees'); }); it('should have organization associated if found', function() { @@ -133,7 +133,7 @@ describe('achievibit Utilities', function() { var pullRequest = utilities.initializePullRequest(eventData); expect(pullRequest).to.be.an('object'); - expect(pullRequest).to.include.keys('reviewers'); + expect(pullRequest).to.include.keys('assignees'); }); }); describe('parseUser - GitHub User to achievibit User', function() {