Commit Graph

6 Commits

Author SHA1 Message Date
Konstantin Haase
92be2a3fcd fix test for new autosync 2013-03-20 19:53:38 +01:00
Piotr Sarnacki
c6e3c29a57 Load the data for integration tests upfront
We can do it, because we use :transaction strategy with DatabaseCleaner,
which starts transaction before each test and rollbacks after it. That
way data before each test is consistent.

The big advantage of such approach is that tests are fast now - we need
to only load Scenario data once.

One of the drawbacks, on the other hand, is that we need to always load
this data, even if no integration tests need running.

We can try to be smart about it and check if any integration tests are
loaded.
2013-01-26 00:00:42 +01:00
Sven Fuchs
28b3099bd0 add specs for build status image urls that filter by multiple branches 2012-10-21 16:21:13 +02:00
Piotr Sarnacki
b53286fe52 Fix syncing and add integration test for it 2012-10-11 13:27:44 +02:00
Piotr Sarnacki
02c503ae19 Make sure that PUT /users/:id returns user hash 2012-10-11 01:30:57 +02:00
Piotr Sarnacki
4f33a93769 Fix PUT /users/:id and add integration test for it 2012-10-11 01:00:53 +02:00