Konstantin Haase
143a9cd071
Revert "removed the branches endpoint"
...
This reverts commit f7450cdb6b
.
2014-06-17 14:44:13 +02:00
Hiro Asari
8d4c4488b1
Merge pull request #94 from travis-ci/jk_remove_branches_endpoint
...
Remove the branches endpoint
2014-06-16 11:36:59 -04:00
Hiro Asari
3b20120c72
Accept .atom
extension
...
And return Atom feed for builds.
Specs look different, because it needs to explicitly handle the common
case where the client sends `Accept: */*`.
2013-11-11 15:21:14 -05:00
Hiro Asari
8171d3915e
Add integration specs for Atom feed
...
These rudimentary specs do not test the correctness of
the Atom feed format.
2013-11-11 11:40:37 -05:00
Josh Kalderimis
f7450cdb6b
removed the branches endpoint
...
we already have branch info accessible via the repos endpoints, having this at the root level doesn't make sense.
2013-11-06 01:40:42 +01:00
Josh Kalderimis
342df12b14
remove old workers endpoints
2013-11-04 19:24:17 +01:00
Henrik Hodne
5f1f189c74
Remove references to "result" in specs
...
This column has now been removed in favor of the state columns.
2013-05-23 15:48:41 +02:00
Piotr Sarnacki
54a6926aaf
Properly handle non existent resources
...
This commit changes travis-api to always return 404 response if resource
is not available. Previously we were returning image/png with "unknown"
status instead if user used "*/*" Accept header, which was confusing.
2013-03-11 23:52:57 +01:00
Sven Fuchs
7b4712c32c
fix after rebase
2013-01-26 20:54:58 +01:00
Sven Fuchs
d441336573
expose logs on /job/:id/log.txt
2013-01-26 20:43:54 +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
Piotr Sarnacki
36c40da55d
Fix workers tests
2013-01-24 14:37:05 +01:00
Sven Fuchs
d113833e9a
fix xml responder and result image specs
2012-12-09 16:02:00 +01:00
Sven Fuchs
751e88411b
adapt most specs for new states api, some stuff still failing
2012-12-09 15:16:50 +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
Sven Fuchs
8abd6fa150
manual redirects and rewrite rules for supporting v1 style resources
2012-10-10 01:48:22 +02:00
Sven Fuchs
f8bd49e88b
on 404 redirect for /owner/name paths on v1
2012-10-10 01:47:12 +02:00
Sven Fuchs
903f249cfb
moar refactoring on responders, fix specs
2012-10-09 18:28:46 +02:00
Sven Fuchs
6bda358786
cleanup and some notes
2012-10-03 13:14:01 +02:00
Sven Fuchs
f6957636fb
refactor to responders, add the cc.xml stuff
2012-10-03 02:19:16 +02:00
Sven Fuchs
289f7c1486
start porting api integration tests
2012-10-02 16:39:38 +02:00