diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-02-05 21:04:23 +0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-03-02 00:46:59 +0300 |
commit | f8fa6e6f472179cfd9261a35d309d986f8db8ebd (patch) | |
tree | dcbaa836cbc91c15fc0aa77e5610a23f874b1934 /spec/support/matchers | |
parent | b6a945b39354ec2b2c09fc5f6904dfbf8990df26 (diff) |
Add internal endpoint to notify post-receive to Gitaly
Diffstat (limited to 'spec/support/matchers')
-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 |