carlad
c8f94e90ed
add webmock, update spec
2016-08-05 16:31:53 +02:00
Renée Hendricksen
652439226a
Merge branch 'master' into jc-v3-env-vars
2016-07-14 19:57:40 -04:00
Renée Hendricksen
16968f445f
freeze time for the whole suite so all the Time.now calls sprinkled through the old tests won't error if there is a delay on Travis CI
2016-07-12 19:23:24 -04:00
Joe Corcoran
829366a554
Fix duplicate lines from rebase
2016-07-01 23:55:49 -04:00
Joe Corcoran
871b915515
Add env vars endpoints
...
This adds API V3 endpoints for querying, creating, modifying and
deleting environment variables.
It has no concept of encryption yet and should be considered a work in
progress.
We should also talk about the slightly off-track approach in the
EnvVars::Create service – maybe there's a way to standardise the
querying and rendering for post requests?
☕
2016-07-01 23:55:49 -04:00
Sven Fuchs
0f1e697abd
delete github/services/sync_user and user_mailer, remove action_mailer
2016-06-19 15:04:39 +02:00
Sven Fuchs
a6658fa4d3
get rid of spec_helper_core
2016-06-19 14:35:54 +02:00
Tyranja
56a59e4cc3
Adds debugging output for canceling jobs
2016-06-14 15:18:15 +02:00
Renée Hendricksen
7c3c6bd1a9
passing specs
2016-06-14 15:16:15 +02:00
Tyranja
0f2c7e0307
Update rspec due to deprecation warnings
2016-06-14 15:14:11 +02:00
Renée Hendricksen
e77be8210f
working core specs
2016-06-14 15:11:58 +02:00
Renée Hendricksen
9ed43941fd
updates for v3 approved by rkh and spruce up the model tests
2016-06-14 15:11:58 +02:00
Tyranja
e1f7921223
Change Database configuration to make the test pass
2016-06-14 15:11:58 +02:00
Tyranja
3b6ab6fb71
Copies spec from core
2016-06-14 15:10:40 +02:00
Konstantin Haase
bf1714c437
v3: add metrics
2016-01-22 14:26:30 +01:00
Konstantin Haase
c4806450aa
get v3 to a working and tested state
2015-01-21 16:38:25 +01:00
Sven Fuchs
58ce449ca4
fix specs for rspec
2014-10-07 16:48:21 +02:00
Piotr Sarnacki
d7c6edec18
Bring back ssh key endpoint, but make it configurable
2014-07-29 03:02:54 +02:00
Piotr Sarnacki
4005760c8c
Add SingletonSettingsEndpoint
...
This class allows to easily add an endpoint for a nested model in
settings.
2014-07-21 17:09:32 +02:00
Piotr Sarnacki
1b524071f4
Allow to handle settings collections
2014-04-01 12:00:06 +02:00
Piotr Sarnacki
8c82d9af89
Move API v2 payload definitions to travis-api from travis-core
2014-03-24 20:25:06 +01:00
Piotr Sarnacki
1503b87555
Require travis/testing explicitly
2013-11-08 11:05:55 +01:00
Piotr Sarnacki
887c835bd4
Use client_domain instead of domain for url in CC.xml
2013-03-25 16:53:20 +01:00
Andre Arko
c57e9cbcc6
valid URLs in cc.xml Project webUrl
2013-03-25 16:09:37 +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
Konstantin Haase
ada6ee0f2c
fix scope check
2013-01-11 16:20:53 +01:00
Sven Fuchs
f8bd49e88b
on 404 redirect for /owner/name paths on v1
2012-10-10 01:47:12 +02:00
Sven Fuchs
7eceeb2842
moar work on acceptance tests
2012-10-02 19:10:29 +02:00
Sven Fuchs
289f7c1486
start porting api integration tests
2012-10-02 16:39:38 +02:00
Sven Fuchs
49d428dee1
rbx does't like debugger
2012-10-01 15:23:26 +02:00
Sven Fuchs
da01eba035
fix failing specs
2012-10-01 15:17:18 +02:00
Konstantin Haase
f05ea7198b
fully implement access tokens
2012-08-15 00:52:22 +02:00
Konstantin Haase
7baf61054c
rewrite all the things
2012-07-27 15:55:57 +02:00