fix jscs warning
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
This commit is contained in:
parent
94b2a45a6c
commit
58f67e92d1
|
@ -1221,8 +1221,8 @@ describe('relations - integration', function() {
|
|||
});
|
||||
|
||||
before(function createChapters(done) {
|
||||
var test = this, book = test.book;
|
||||
book.chapters.create({ name: 'Chapter 1' },
|
||||
var test = this;
|
||||
test.book.chapters.create({ name: 'Chapter 1' },
|
||||
function(err, chapter) {
|
||||
if (err) return done(err);
|
||||
test.chapter = chapter;
|
||||
|
|
Loading…
Reference in New Issue