diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2019-08-07 19:31:22 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2019-08-08 11:49:50 +0200 |
commit | 49e0c7eb977bc8971a88e7ee01422c14cd328723 (patch) | |
tree | 3bbbcc7094f536495a4d12e21267ce19d23946f7 /spec/lib/gitlab/gitaly_client/notification_service_spec.rb | |
parent | b0e7da2f7c6cbd515896dd6aa73f23c22c2127c6 (diff) | |
download | gitlab-ce-jv-gitaly-1.58.0.tar.gz |
Remove deprecated RPC codejv-gitaly-1.58.0
Diffstat (limited to 'spec/lib/gitlab/gitaly_client/notification_service_spec.rb')
-rw-r--r-- | spec/lib/gitlab/gitaly_client/notification_service_spec.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/lib/gitlab/gitaly_client/notification_service_spec.rb b/spec/lib/gitlab/gitaly_client/notification_service_spec.rb deleted file mode 100644 index ffc3a09be30..00000000000 --- a/spec/lib/gitlab/gitaly_client/notification_service_spec.rb +++ /dev/null @@ -1,17 +0,0 @@ -require 'spec_helper' - -describe Gitlab::GitalyClient::NotificationService do - describe '#post_receive' do - let(:project) { create(:project) } - let(:storage_name) { project.repository_storage } - let(:relative_path) { project.disk_path + '.git' } - subject { described_class.new(project.repository) } - - it 'sends a post_receive message' do - expect_any_instance_of(Gitaly::NotificationService::Stub) - .to receive(:post_receive).with(gitaly_request_with_path(storage_name, relative_path), kind_of(Hash)) - - subject.post_receive - end - end -end |