mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
missing a done or two
This commit is contained in:
parent
3446fe7461
commit
557d81f178
@ -46,7 +46,7 @@
|
||||
found.attributes.title.should.equal(firstPost.attributes.title);
|
||||
|
||||
done();
|
||||
});
|
||||
}, done);
|
||||
});
|
||||
|
||||
it('can edit', function (done) {
|
||||
@ -87,9 +87,7 @@
|
||||
createdPost.attributes.slug.should.equal(newPost.title.toLowerCase().replace(/ /g, '-'), 'slug is correct');
|
||||
|
||||
done();
|
||||
}, function (error) {
|
||||
throw error;
|
||||
});
|
||||
}, done);
|
||||
});
|
||||
|
||||
it('can delete', function (done) {
|
||||
|
Loading…
Reference in New Issue
Block a user