diff options
| author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-02-05 15:04:23 -0300 |
|---|---|---|
| committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-03-01 18:46:59 -0300 |
| commit | f8fa6e6f472179cfd9261a35d309d986f8db8ebd (patch) | |
| tree | dcbaa836cbc91c15fc0aa77e5610a23f874b1934 /spec/support | |
| parent | b6a945b39354ec2b2c09fc5f6904dfbf8990df26 (diff) | |
| download | gitlab-ce-f8fa6e6f472179cfd9261a35d309d986f8db8ebd.tar.gz | |
Add internal endpoint to notify post-receive to Gitalygitaly-post-receive
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/matchers/gitaly_matchers.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/support/matchers/gitaly_matchers.rb b/spec/support/matchers/gitaly_matchers.rb new file mode 100644 index 00000000000..d7a53820684 --- /dev/null +++ b/spec/support/matchers/gitaly_matchers.rb @@ -0,0 +1,3 @@ +RSpec::Matchers.define :post_receive_request_with_repo_path do |path| + match { |actual| actual.repository.path == path } +end |
