diff --git a/test/integration/features/other.feature b/test/integration/features/other.feature index 3671a17c1..5f41327d6 100644 --- a/test/integration/features/other.feature +++ b/test/integration/features/other.feature @@ -6,3 +6,4 @@ Feature: Other Project Type And the project language should be Other When the project is scaffolded Then core ignores are defined + And the base git files should be present diff --git a/test/integration/features/step_definitions/vcs/git-steps.js b/test/integration/features/step_definitions/vcs/git-steps.js index 42da07b61..9780f025d 100644 --- a/test/integration/features/step_definitions/vcs/git-steps.js +++ b/test/integration/features/step_definitions/vcs/git-steps.js @@ -2,6 +2,7 @@ import {exists, readFile} from 'mz/fs'; import {Given, Then} from 'cucumber'; import bddStdIn from 'bdd-stdin'; import {assert} from 'chai'; +// import toml from '@iarna/toml'; Given(/^the project should be versioned in git$/, async function () { this.setAnswerFor('gitRepo', '\n'); @@ -37,6 +38,7 @@ Then(/^the base git files should be present$/, async function () { const gitAttributes = await readFile(`${process.cwd()}/.gitattributes`); assert.equal(gitAttributes, '* text=auto'); + // console.log(toml.parse(await readFile(`${process.cwd()}/.git/config`))) // assert.isTrue(gitDirectoryStats.isDirectory()); }); diff --git a/test/integration/features/step_definitions/vcs/github-api-steps.js b/test/integration/features/step_definitions/vcs/github-api-steps.js index 4ca89648e..d65836b65 100644 --- a/test/integration/features/step_definitions/vcs/github-api-steps.js +++ b/test/integration/features/step_definitions/vcs/github-api-steps.js @@ -23,7 +23,7 @@ Given(/^the GitHub token is valid$/, async function () { .matchHeader('Authorization', `token ${githubToken}`) .post('/user/repos') .reply(OK, { - ssl_url: any.url(), - https_url: any.url() + // ssh_url: any.url(), + html_url: any.url() }); });