1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
Commit Graph

35 Commits

Author SHA1 Message Date
ivaosthu
4f25533230 Cleanup route/metrics a bit 2016-11-11 15:46:59 +01:00
ivaosthu
b14c766e97 Started on unit test for metrics-route 2016-11-10 22:05:50 +01:00
ivaosthu
8c2ba0415f Fix failing test after bluebird removal 2016-11-10 21:32:48 +01:00
ivaosthu
4e6912b65f remove bluebird 2016-11-10 21:24:39 +01:00
ivaosthu
9f459e600c fix tests 2016-11-10 21:16:59 +01:00
ivaosthu
0bd0924aee remove all lerna stuff 2016-11-10 15:52:49 +01:00
sveisvei
0ffb9b78b6 use lerna for multipackaging 2016-06-18 09:19:57 +02:00
Ivar
2d8fa7ee6b Statefull modules should be injected from top 2016-06-16 14:35:50 +02:00
Ivar
b85d9eb6d6 Start injecting config to app. 2016-06-16 14:27:23 +02:00
ivaosthu
225db218d3 Move all routes to a routes folder 2016-06-16 14:03:49 +02:00
ivaosthu
6cc28ede55 seems like knex 0.11 is more restrict about not using undefined 2016-05-06 11:11:32 +02:00
Anders Olsen Sandvik
f01ef69d7e #108 Add eslint-config-spt and remove jshint (#111)
* #108 Add eslint-config-spt

* #108 Ignore bundle.js file

* #108 Change eslint ignore path to a glob file

* Remove jshint and follow more of eslint rules
2016-04-24 22:41:37 +02:00
andsandv
94f78797df Check if strategy exsit before deleting it 2015-02-12 11:41:30 +01:00
andsandv
e7d1740e38 Add test for trying to get strategy that dose not exist 2015-02-10 18:28:17 +01:00
andsandv
ee75ac2eca Add test for asking for feature that dose not exist 2015-02-10 17:30:18 +01:00
andsandv
f2fdf4c771 Add test for creating features when name is not unique 2015-02-10 17:19:32 +01:00
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