mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Updated importer specs for mobiledoc.ghostVersion
refs ef76279084
- updated specs to expect `mobiledoc.ghostVersion` in blank documents
This commit is contained in:
parent
e0354ea5a0
commit
647529f56d
1 changed files with 4 additions and 4 deletions
|
@ -1437,10 +1437,10 @@ describe('1.0', function () {
|
|||
|
||||
posts.length.should.eql(2);
|
||||
should(posts[0].html).eql(null);
|
||||
posts[0].mobiledoc.should.eql('{"version":"0.3.1","markups":[],"atoms":[],"cards":[],"sections":[[1,"p",[[0,[],0,""]]]]}');
|
||||
posts[0].mobiledoc.should.eql('{"version":"0.3.1","ghostVersion":"4.0","markups":[],"atoms":[],"cards":[],"sections":[[1,"p",[[0,[],0,""]]]]}');
|
||||
|
||||
should(posts[1].html).eql(null);
|
||||
posts[1].mobiledoc.should.eql('{"version":"0.3.1","markups":[],"atoms":[],"cards":[],"sections":[[1,"p",[[0,[],0,""]]]]}');
|
||||
posts[1].mobiledoc.should.eql('{"version":"0.3.1","ghostVersion":"4.0","markups":[],"atoms":[],"cards":[],"sections":[[1,"p",[[0,[],0,""]]]]}');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -1466,7 +1466,7 @@ describe('1.0', function () {
|
|||
|
||||
posts.length.should.eql(1);
|
||||
should(posts[0].html).eql(null);
|
||||
posts[0].mobiledoc.should.eql('{"version":"0.3.1","markups":[],"atoms":[],"cards":[],"sections":[[1,"p",[[0,[],0,""]]]]}');
|
||||
posts[0].mobiledoc.should.eql('{"version":"0.3.1","ghostVersion":"4.0","markups":[],"atoms":[],"cards":[],"sections":[[1,"p",[[0,[],0,""]]]]}');
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -1492,7 +1492,7 @@ describe('1.0', function () {
|
|||
|
||||
posts.length.should.eql(1);
|
||||
should(posts[0].html).eql(null);
|
||||
posts[0].mobiledoc.should.eql('{"version":"0.3.1","markups":[],"atoms":[],"cards":[],"sections":[[1,"p",[[0,[],0,""]]]]}');
|
||||
posts[0].mobiledoc.should.eql('{"version":"0.3.1","ghostVersion":"4.0","markups":[],"atoms":[],"cards":[],"sections":[[1,"p",[[0,[],0,""]]]]}');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue