git ssb

0+

Piet / ssb-loomio



Commit 18f9223076dfa1bbba1b0c3dcc24fa951ea62e93

wip

Piet Geursen committed on 3/3/2018, 9:16:04 AM
Parent: 9551d1fdc070fc8003a4b8361771989268da50a2

Files changed

position/schema/position.jschanged
test/position/sync/isPosition.test.jschanged
position/schema/position.jsView
@@ -18,14 +18,9 @@
1818 text: { type: 'string' },
1919 reason: { type: 'string' },
2020 positionDetails: {
2121 oneOf: [
22- // { $ref: '#/definitions/pollDetails/dot'},
23- // { $ref: '#/definitions/pollDetails/proposal'},
24- // { $ref: '#/definitions/pollDetails/score'},
2522 { $ref: '#/definitions/positionDetails/chooseOne' }
26- // { $ref: '#/definitions/pollDetails/rsvp'},
27- // { $ref: '#/definitions/pollDetails/meeting'},
2823 ]
2924 },
3025 mentions: {
3126 oneOf: [
test/position/sync/isPosition.test.jsView
@@ -2,10 +2,9 @@
22 const ChooseOne = require('../../../position/sync/chooseOne')
33 const isPosition = require('../../../isPosition')
44
55 // this is for testing the attributes that are required for all polls
6-
7-test('Position - common requirements', function (t) {
6+test('position - common requirements', function (t) {
87 var missingTitle = ChooseOne({
98 choices: [1, 2, 'three'],
109 closesAt: Date.now()
1110 })

Built with git-ssb-web