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')
|
|
});
|