Commit graph

26 commits

Author SHA1 Message Date
jelhan
b209fe1d82 Fix failing tests caused by different moment locale in test vs application 2015-11-24 01:37:37 +01:00
jelhan
8afe43f270 Fix unit tests controller:create
needs a run loop and dates must not be created before visit cause
moment locale isn't that before application route is reached
2015-11-20 23:33:20 +01:00
jelhan
e1bb2da6d1 fix jshint 2015-11-20 11:31:40 +01:00
jelhan
c1dfa16eed update ember-i18n 2015-11-20 02:18:19 +01:00
jelhan
f67381c6b9 remove ember-easy-form-extensions, finally 2015-11-19 21:51:49 +01:00
jelhan
6f6cc8b61d rewritten create/index and create/meta with ember-cp-validations and ember-form-master-2000 2015-11-16 14:28:00 +01:00
jelhan
ca387848ed create/options input fields for make a poll with add / delete buttons
also rewritten using ember-cp-validations and ember-form-master-2000
2015-11-16 13:09:13 +01:00
jelhan
01f9b6e61f extract participation form from participants table and make it a bootstrap form
started replacing ember-easy-form-extensions by ember-form-master-2000
and ember-validations by ember-cp-validations

using ember-form-master-2000 in old 0.2 release cause newer releases does not work with ember 0.12
should move to ember 2.x as soon as possible
therefore ember-easy-form-extensions has to be dropped and ember-i18n been updated

part of #76
2015-11-12 15:52:14 +01:00
jelhan
475245d04f evaluation summary as component 2015-11-03 12:57:41 +01:00
jelhan
858b75e543 routable tabs in poll view for participation and evaluation 2015-11-02 23:02:59 +01:00
jelhan
6275fb54ec Merge branch 'model-fragments' of github.com:jelhan/croodle into model-fragments
Conflicts:
	app/templates/poll.hbs
	tests/acceptance/view-poll-test.js

There isn't any legacy support yet; so integration tests for legacy support will fail.
2015-10-25 16:01:55 +01:00
jelhan
243ed3b12a model fragments for user selections (currently same as answers) 2015-10-25 15:32:42 +01:00
jelhan
d09aa843bb introduce test helper for poll participation and extend some tests with it 2015-10-18 14:04:04 +02:00
jelhan
dec12d81a7 move legacy support to api 2015-10-17 15:44:27 +02:00
jelhan
cd7737d65b add legacy support for v0.3.0 2015-10-16 17:41:24 +02:00
jelhan
1b02c262d2 even more test helpers 2015-10-16 11:21:06 +02:00
jelhan
187155811c make more use of test helpers in acceptance tests 2015-10-14 20:36:47 +02:00
jelhan
9004eb6027 model fragments for user selections (currently same as answers) 2015-10-13 21:30:26 +02:00
jelhan
5a240e79e1 added some (ugly) tests for evaluation 2015-08-21 12:10:02 +02:00
jelhan
7cef56c2d1 some more tests about showing correct dates and times and handeling
different time zones
2015-08-01 23:54:07 +02:00
jelhan
d26cd827c1 Fix: moment.localeData().longDateFormat() changed
More details: http://stackoverflow.com/questions/25179377/date-format-momentjs-extract-date-and-time-separately-using-locale-language/31761415#31761415
2015-08-01 13:51:04 +02:00
jelhan
1f955d4e93 update ember-moment 2015-08-01 11:41:41 +02:00
jelhan
dfdbf98042 rewrite create a poll-tests as acceptance tests using pretender 2015-08-01 11:03:00 +02:00
jelhan
1f39409f66 avoid globale namespace 2015-07-27 20:56:52 +02:00
jelhan
f9eaa10ee1 refactor "participate in poll"-tests as acceptance tests using pretender instead of dummy data 2015-07-27 20:28:00 +02:00
jelhan
c7440fd0b9 pretender... 2015-07-22 11:52:22 +02:00