Jari Bakken
e52c1d16fe
Begin work on running tests against the database:
...
* Add Travis postgresql setup.
* Replace "db mocks" with a before hook that creates the same data
through the HTTP API.
* Reset DB and re-create all fixtures for each test. We'll need
something better here.
* CAVEAT: no concept of a dev vs test database. Running tests will
clear data from the currently configured database.
2014-12-12 16:12:56 +01:00
ivaosthu
6133f4920b
Cleaned up and changed promises used in the feature API
2014-12-10 18:45:02 +01:00
ivaosthu
c16f4a1867
Implemented server side API for deleting strategies.
...
relates to #60
2014-12-08 20:56:22 +01:00
Jari Bakken
c6a7af35c0
Split app and server. No need to start the server for these tests.
2014-12-03 15:23:11 +01:00
Jari Bakken
74df1aa6ec
Add test for /strategies/:name 403 if strategy exists.
2014-11-25 16:34:24 +01:00
Jari Bakken
20c4fe6702
Add ability to create custom stratgies. Closes #11 .
2014-11-25 15:28:31 +01:00
Jari Bakken
d89ce75906
Test refactoring:
...
* reduce setup duplication
* consistent test file names
2014-11-25 14:41:11 +01:00
ivaosthu
578751ef94
Fixed failing tests
2014-11-18 08:07:10 +01:00
Jari Bakken
981c383bb5
Replace PATCH with PUT, which enables editing multiple fields at once.
...
Closes #47 .
2014-11-14 12:56:23 +01:00
Gard Rimestad
0a95ffe104
Adding test for /event/:name
2014-11-14 08:09:46 +01:00
Jari Bakken
6bef7d91ce
Fix typos
2014-11-10 17:10:39 +01:00
ivaosthu
f38a07325d
added server side validation of feature name
2014-11-01 11:47:21 +01:00
Jari Bakken
8c3fdfc9d4
Move unleash-server to top level.
2014-10-31 16:35:35 +01:00