Skip to content

Commit

Permalink
test(wording): fix wording
Browse files Browse the repository at this point in the history
see #104
  • Loading branch information
bzums committed Oct 5, 2017
1 parent 2caba7a commit 755c377
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions integration-test/oauth-tooling/getAccessToken.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('getAccessToken', () => {
grantType: PASSWORD_CREDENTIALS_GRANT
};

it('should become the access token', () => {
it('should resolve with access token if valid', () => {

// given
nock(oAuthServerHost)
Expand All @@ -103,7 +103,7 @@ describe('getAccessToken', () => {
return expect(promise).to.become({ access_token: accessToken });
});

it('should be rejected if credentials can not be read', () => {
it('should be rejected if credentials cannot be read', () => {

// given
nock(oAuthServerHost)
Expand Down Expand Up @@ -144,7 +144,7 @@ describe('getAccessToken', () => {
grantType: CLIENT_CREDENTIALS_GRANT
};

it('should become the access token', () => {
it('should resolve with access token if valid', () => {

// given
nock(oAuthServerHost)
Expand All @@ -163,7 +163,7 @@ describe('getAccessToken', () => {
return expect(promise).to.become({ access_token: accessToken });
});

it('should be rejected if credentials can not be read', () => {
it('should be rejected if credentials cannot be read', () => {

// given
nock(oAuthServerHost)
Expand Down Expand Up @@ -209,7 +209,7 @@ describe('getAccessToken', () => {
redirectUri: validRedirectUri
};

it('should become the access token', function() {
it('should resolve with access token if valid', function() {

// given
nock(oAuthServerHost)
Expand All @@ -230,7 +230,7 @@ describe('getAccessToken', () => {
return expect(promise).to.become({access_token: '4b70510f-be1d-4f0f-b4cb-edbca2c79d41'});
});

it('should be rejected if credentials can not be read', () => {
it('should be rejected if credentials cannot be read', () => {

// given
nock(oAuthServerHost)
Expand Down Expand Up @@ -274,7 +274,7 @@ describe('getAccessToken', () => {
refreshToken: validRefreshToken
};

it('should become the access token', () => {
it('should resolve with access token if valid', () => {

// given
nock(oAuthServerHost)
Expand Down

0 comments on commit 755c377

Please sign in to comment.