diff options
Diffstat (limited to 'spec/frontend/pipeline_editor/graphql/resolvers_spec.js')
-rw-r--r-- | spec/frontend/pipeline_editor/graphql/resolvers_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/pipeline_editor/graphql/resolvers_spec.js b/spec/frontend/pipeline_editor/graphql/resolvers_spec.js index b531f8af797..3e008527415 100644 --- a/spec/frontend/pipeline_editor/graphql/resolvers_spec.js +++ b/spec/frontend/pipeline_editor/graphql/resolvers_spec.js @@ -5,7 +5,7 @@ import { mockCiYml, mockDefaultBranch, mockLintResponse, - mockProjectPath, + mockProjectFullPath, } from '../mock_data'; import httpStatus from '~/lib/utils/http_status'; import axios from '~/lib/utils/axios_utils'; @@ -32,12 +32,12 @@ describe('~/pipeline_editor/graphql/resolvers', () => { it('resolves lint data with type names', async () => { const result = resolvers.Query.blobContent(null, { - projectPath: mockProjectPath, + projectPath: mockProjectFullPath, path: mockCiConfigPath, ref: mockDefaultBranch, }); - expect(Api.getRawFile).toHaveBeenCalledWith(mockProjectPath, mockCiConfigPath, { + expect(Api.getRawFile).toHaveBeenCalledWith(mockProjectFullPath, mockCiConfigPath, { ref: mockDefaultBranch, }); |