summaryrefslogtreecommitdiff
path: root/spec/vcr_cassettes
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-02-10 08:11:57 -0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-02-10 14:12:27 -0300
commit09e4814483863b3cb570a98746c684a2709eece8 (patch)
tree04e97e944380fbe114d410f084c7fa4cc05e89bb /spec/vcr_cassettes
parentb98d59acdf6453708ec53e38146238cab9f9754c (diff)
downloadgitlab-shell-09e4814483863b3cb570a98746c684a2709eece8.tar.gz
Use api/v4 for gitaly notification and add testsgitaly-post-receive-2
Diffstat (limited to 'spec/vcr_cassettes')
-rw-r--r--spec/vcr_cassettes/notify-post-receive.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/spec/vcr_cassettes/notify-post-receive.yml b/spec/vcr_cassettes/notify-post-receive.yml
new file mode 100644
index 0000000..9eeb297
--- /dev/null
+++ b/spec/vcr_cassettes/notify-post-receive.yml
@@ -0,0 +1,44 @@
+---
+http_interactions:
+- request:
+ method: post
+ uri: https://dev.gitlab.org/api/v4/internal/notify_post_receive
+ body:
+ encoding: US-ASCII
+ string: repo_path=%2Fpath%2Fto%2Fmy%2Frepo.git&secret_token=a123
+ headers:
+ Accept-Encoding:
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
+ Accept:
+ - "*/*"
+ User-Agent:
+ - Ruby
+ Content-Type:
+ - application/x-www-form-urlencoded
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Cache-Control:
+ - max-age=0, private, must-revalidate
+ Content-Length:
+ - '2'
+ Content-Type:
+ - application/json
+ Date:
+ - Fri, 10 Feb 2017 17:06:53 GMT
+ Etag:
+ - W/"99914b932bd37a50b983c5e7c90ae93b"
+ Vary:
+ - Origin
+ X-Request-Id:
+ - cfefede6-9400-4ca5-a61d-2a519405295c
+ X-Runtime:
+ - '20.623406'
+ body:
+ encoding: UTF-8
+ string: "{}"
+ http_version:
+ recorded_at: Fri, 10 Feb 2017 17:06:53 GMT
+recorded_with: VCR 2.4.0