mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fixed posts model regression test
no issue
- The failing test was introduced with 80f7e0b19e
- The counter was not correctly incremented
This commit is contained in:
parent
b64b0f3532
commit
955bc434d1
1 changed files with 1 additions and 1 deletions
|
@ -817,7 +817,7 @@ describe('Post Model', function () {
|
|||
createdPost.get('html').should.equal(newPostDB.html);
|
||||
createdPost.has('plaintext').should.equal(true);
|
||||
createdPost.get('plaintext').should.match(/^testing/);
|
||||
createdPost.get('slug').should.equal(newPostDB.slug + '-2');
|
||||
createdPost.get('slug').should.equal(newPostDB.slug + '-3');
|
||||
(!!createdPost.get('featured')).should.equal(false);
|
||||
(!!createdPost.get('page')).should.equal(false);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue