Commit graph

132 commits

Author SHA1 Message Date
jelhan
bf1d18b2c0 array transform is replaced by model fragments 2015-10-13 21:46:49 +02:00
jelhan
9004eb6027 model fragments for user selections (currently same as answers) 2015-10-13 21:30:26 +02:00
jelhan
505319e464 model fragments for options 2015-10-13 11:29:51 +02:00
jelhan
3d4cf3f408 model fragments for answers 2015-10-12 13:40:29 +02:00
jelhan
0ae62f31f1 added test for translation object 2015-08-21 12:29:09 +02:00
jelhan
5a240e79e1 added some (ugly) tests for evaluation 2015-08-21 12:10:02 +02:00
jelhan
398453c1e4 do encryption / decryption in serializer
before it was done as computed properties of model

accessing encryption key in serializer is done via global application var.
this should be removed in long-term
2015-08-19 22:00:01 +02:00
jelhan
c9ed3e8a06 readd integration test 2015-08-19 11:29:30 +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
jelhan
5181d45fc0 added some tests 2015-07-19 20:55:20 +02:00
jelhan
67cc41973f Ember.ObjectController is deprecated since ember 1.11
Ember.ObjectController was proxying model properties to controller. Ember.Controller which should be used is not.
Therefore we have to define if it's a property of controller or model.

Also added two more tests:
* anonymous participation
* do not force an answer for all options
2015-07-01 16:21:18 +02:00
jelhan
90a7e6dbe1 Fix test if it is run multiple times (more than one user is present) 2015-06-20 18:42:28 +02:00
jelhan
5cce0a236d Fix: freetext answer where broken by caba42a853
added test to not let it happen again
2015-06-20 18:33:51 +02:00
jelhan
3929460595 restructering tests 2015-06-11 10:53:22 +02:00
jelhan
04561b66d0 fix tests after update 2015-04-02 20:09:07 +02:00
jelhan
9b73dd8863 update to ember-cli 0.2.2 and ember 1.11.0 2015-04-02 20:01:30 +02:00
jelhan
57726c2996 update ember-cli to 1.2.1 and ember to 1.10
update to ember 1.10 causes several issues due to HTMLBars; some are allready fixed but some not:
* current used version of ember-easyForm is not compatible with ember 1.10
* tests aren't working
2015-04-02 12:56:55 +02:00
jelhan
bc4ebadf1b fix: add a user to a default poll test 2015-01-24 18:31:21 +01:00
jelhan
7d5fd78d9a fix: PHP Deprecated: Function split() is deprecated 2015-01-24 17:14:57 +01:00
jelhan
226220cd78 need absolute path if locationType 'hash' as stated in docs 2015-01-24 15:36:04 +01:00
jelhan
29e43c26e8 dummy polls for testing and development
test: add a user to a default poll

default poll url
http://localhost:4200/#/poll/defaultpoll?encryptionKey=0123456789abcdefghijklmnopqrstuvwxyzABC
2015-01-24 14:50:56 +01:00
jelhan
139b6b7088 upgrade ember-cli to 0.1.7
Tests doesn't run to due an error with relative api uri. This doesn't affect development or production environment.
2015-01-18 18:06:47 +01:00
jelhan
7c5131320d Added more tests
should find a way to aviod repeating myself in all tests...
2014-12-19 19:59:29 +01:00
jelhan
8af5a9df09 Integration Test for creation of a default poll 2014-11-26 13:15:05 +01:00
jelhan
7a241bd311 first steps to ember-cli 2014-10-30 21:44:22 +01:00
jelhan
b066b8806c Starting to move to Ember App Kit 2014-07-06 17:37:54 +02:00