(attrs)
| 85 | }, |
| 86 | |
| 87 | makeLevel(attrs) { |
| 88 | const _id = _.uniqueId('level_'); |
| 89 | attrs = _.extend({}, { |
| 90 | _id, |
| 91 | name: _.string.humanize(_id), |
| 92 | slug: _.string.dasherize(_id), |
| 93 | original: _id+'_original', |
| 94 | version: makeVersion() |
| 95 | }, attrs); |
| 96 | return new Level(attrs); |
| 97 | }, |
| 98 | |
| 99 | makeLevelObject(attrs) { |
| 100 | const level = this.makeLevel(attrs); |
nothing calls this directly
no test coverage detected