mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 21:03:29 +03:00
36ba47604f
ref https://linear.app/tryghost/issue/ENG-1078 - adds required setup for acceptance testing post revisions - adds happy-path test for listing, previewing, and restoring a post revision
7 lines
131 B
JavaScript
7 lines
131 B
JavaScript
import {Model, belongsTo} from 'miragejs';
|
|
|
|
export default Model.extend({
|
|
post: belongsTo(),
|
|
author: belongsTo('user')
|
|
});
|