Skip to content

Commit

Permalink
fix: rename practice
Browse files Browse the repository at this point in the history
  • Loading branch information
adelkahomolova committed Nov 21, 2019
1 parent 2bd8bd9 commit c96061d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/practices/LanguageIndependent/DoesPullRequests.spec.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { createTestContainer, TestContainerContext } from '../../inversify.config';
import { PracticeEvaluationResult } from '../../model';
import { DoesPullRequests } from './DoesPullRequests';
import { DoesPullRequestsPractice } from './DoesPullRequests';
import nock from 'nock';
import { GitHubNock } from '../../../test/helpers/gitHubNock';
import { getRepoCommitsResponse } from '../../services/git/__MOCKS__/gitHubServiceMockFolder/getRepoCommitsResponse.mock';

describe('DoesPullRequests', () => {
let practice: DoesPullRequests;
let practice: DoesPullRequestsPractice;
let containerCtx: TestContainerContext;

beforeEach(async () => {
Expand All @@ -15,7 +15,7 @@ describe('DoesPullRequests', () => {

beforeAll(() => {
containerCtx = createTestContainer();
containerCtx.container.bind('DoesPullRequests').to(DoesPullRequests);
containerCtx.container.bind('DoesPullRequests').to(DoesPullRequestsPractice);
practice = containerCtx.container.get('DoesPullRequests');
});

Expand Down

0 comments on commit c96061d

Please sign in to comment.