Skip to content

Commit 8ac31c4

Browse files
committed
Update OAuth1.spec.js
1 parent 15ea635 commit 8ac31c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/OAuth1.spec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ describe('OAuth', function () {
8787
done();
8888
}
8989

90-
it('GET request should fail with invalid credentials', done => {
90+
it('GET request for a resource that requires OAuth should fail with invalid credentials', done => {
9191
/*
9292
This endpoint has been chosen to make a request to an endpoint that requires OAuth which fails due to missing authentication.
9393
Any other endpoint from the Twitter API that requires OAuth can be used instead in case the currently used endpoint deprecates.
@@ -105,7 +105,7 @@ describe('OAuth', function () {
105105
});
106106
});
107107

108-
it('POST request should fail with invalid credentials', done => {
108+
it('POST request for a resource that requires OAuth should fail with invalid credentials', done => {
109109
/*
110110
This endpoint has been chosen to make a request to an endpoint that requires OAuth which fails due to missing authentication.
111111
Any other endpoint from the Twitter API that requires OAuth can be used instead in case the currently used endpoint deprecates.

0 commit comments

Comments
 (0)