1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
ae444039b1 #33 Added unit test for createdBy 2015-02-05 16:46:07 +01:00
Jari Bakken
b1f2bce248 log views: show event diffs by default, toggle to show the full event. 2015-02-04 17:16:59 +00:00
ivaosthu
505d6373cd Added archived toggles feature #43 2014-12-17 21:57:38 +01:00
Jari Bakken
e3a44d0a92 Use TEST_DATABASE_URL for running test against a separate DB. 2014-12-12 16:13:06 +01:00
Jari Bakken
ee4800a71c Remove spec for EventStore.
This code is well covered anyway, and the test is causing trouble
since emitting the featureCreated event is causing side effects through
other listeners.
2014-12-12 16:13:06 +01:00
Jari Bakken
c67b73b5b3 Skip API and create test data in the DB directly (since the API is async) 2014-12-12 16:13:06 +01:00
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