Skip to content

Commit c1abdfb

Browse files
follow lowercase naming convention in tests
1 parent 5bf6d2f commit c1abdfb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/core/oauth2-authorize.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { fromJS } from "immutable"
44
import win from "core/window"
55
import oauth2Authorize from "core/oauth2-authorize"
66

7-
describe("OAuth2", function () {
7+
describe("oauth2", function () {
88

99
let mockSchema = {
1010
flow: "accessCode",
@@ -21,14 +21,14 @@ describe("OAuth2", function () {
2121

2222
describe("authorize redirect", function () {
2323

24-
it("should build redirectUrl", function() {
24+
it("should build authorize url", function() {
2525
win.open = createSpy()
2626
oauth2Authorize(authConfig)
2727
expect(win.open.calls.length).toEqual(1)
2828
expect(win.open.calls[0].arguments[0]).toMatch("https://testAuthorizationUrl?response_type=code&redirect_uri=&state=")
2929
})
3030

31-
it("should build correct redirectUrl from authorizeUrl with query parameters", function() {
31+
it("should append query paramters to authorizeUrl with query parameters", function() {
3232
win.open = createSpy()
3333
mockSchema.authorizationUrl = "https://testAuthorizationUrl?param=1"
3434
oauth2Authorize(authConfig)

0 commit comments

Comments
 (0)