Skip to content

Commit

Permalink
fix tests to reflect new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thatkookooguy committed Feb 23, 2017
1 parent a9e620b commit 3fabe9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/stubs/eventData.mock.js
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions test/utilities.js
Expand Up @@ -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() {
Expand All @@ -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() {
Expand Down

0 comments on commit 3fabe9b

Please sign in to comment.