Skip to content

Commit

Permalink
feat(origin): updated packages to enable adding the remote
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jun 4, 2020
1 parent 0096e3a commit 3da0c51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/integration/features/other.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions test/integration/features/step_definitions/vcs/git-steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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());
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
});
});

0 comments on commit 3da0c51

Please sign in to comment.