Skip to content

Delete loan dev test#17

Open
devchuksemeka wants to merge 6 commits into
masterfrom
delete_loan_dev_test
Open

Delete loan dev test#17
devchuksemeka wants to merge 6 commits into
masterfrom
delete_loan_dev_test

Conversation

@devchuksemeka

Copy link
Copy Markdown
Collaborator

Action : Created the delete_loan and test_config js files
Guide : The delete_loan js file is use to run a TDD on the delete loan functionality of loan.controller.js file and the test_config js file is where the frisby and token global setup is kept
Date : 1st July 2018

@devchuksemeka devchuksemeka requested a review from wilforlan July 1, 2018 15:39
Comment thread test_config.js
const frisby = require('frisby');
frisby.globalSetup({
request: {
headers: {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This values should be settable...

I should be able to run all this directly without copy/paste token...

It should be settable by login endpoint

@@ -0,0 +1,9 @@
const frisby = require('../../test_config');

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

frisby should change, it should be another name, because you have modified frisby its self...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants