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

7 Commits

Author SHA1 Message Date
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
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
d89ce75906 Test refactoring:
* reduce setup duplication
* consistent test file names
2014-11-25 14:41:11 +01:00