Skip to content

Commit dbe4599

Browse files
committed
Fixed failing test
1 parent e564dd1 commit dbe4599

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/test.gist.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22

33
var Github = require('../src/github.js');
44
var testUser = require('./user.json');
5-
var github = new Github({
6-
username: testUser.USERNAME,
7-
password: testUser.PASSWORD,
8-
auth: 'basic'
9-
});
5+
var github;
106

117
describe('Github.Gist', function() {
128
var gist;
139

1410
before(function() {
11+
github = new Github({
12+
username: testUser.USERNAME,
13+
password: testUser.PASSWORD,
14+
auth: 'basic'
15+
});
16+
1517
gist = github.getGist('f1c0f84e53aa6b98ec03');
1618
});
1719

0 commit comments

Comments
 (0)