Commit graph

8 commits

Author SHA1 Message Date
jelhan
d1c8646bda rewritten api using Slim Framework 2015-08-01 18:42:48 +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
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
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
46816954a8 remove hardcoded php-cgi path
hopefully travis will run now
2015-01-24 17:00:46 +01:00
jelhan
04a1bafc47 should fix travix
starting missing api before running test via testem
2015-01-24 16:51:26 +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
62d0ee760e use node-phpcgi instead of proxy to serve api
php-cgi has to be installed and path have to be correct in server/index.js; default is debian standard
2014-11-02 23:43:34 +01:00