Commit Graph

9 Commits

Author SHA1 Message Date
Sven Fuchs
58ce449ca4 fix specs for rspec 2014-10-07 16:48:21 +02: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
353b5fa502 use registered services 2012-11-23 21:16:10 +01:00
Sven Fuchs
5d257b69be fix service hook spec 2012-11-11 02:47:35 +01:00
Piotr Sarnacki
1097eaec7e Update travis-core, which fixes PUT /hooks/:id 2012-11-08 03:13:48 +01:00
Sven Fuchs
7695788aae rename EVENTS back after reverting stuff in core 2012-11-05 16:17:47 +01:00
Sven Fuchs
889f042cd7 bump travis-core 2012-11-05 02:45:22 +01:00
Sven Fuchs
5a6f34005c comment out result images for now since i cant get this to work 2012-10-02 21:12:41 +02:00
Sven Fuchs
289f7c1486 start porting api integration tests 2012-10-02 16:39:38 +02:00