diff options
Diffstat (limited to 'ruby/spec/lib/gitaly_server/exception_sanitizer_interceptor_spec.rb')
-rw-r--r-- | ruby/spec/lib/gitaly_server/exception_sanitizer_interceptor_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby/spec/lib/gitaly_server/exception_sanitizer_interceptor_spec.rb b/ruby/spec/lib/gitaly_server/exception_sanitizer_interceptor_spec.rb index 2e5516173..7e3bc328d 100644 --- a/ruby/spec/lib/gitaly_server/exception_sanitizer_interceptor_spec.rb +++ b/ruby/spec/lib/gitaly_server/exception_sanitizer_interceptor_spec.rb @@ -1,8 +1,8 @@ require 'spec_helper' - require_relative '../../../lib/gitaly_server/exception_sanitizer_interceptor.rb' + describe GitalyServer::ExceptionSanitizerInterceptor do - let(:meth) { GitalyServer::RefService.instance_method(:create_branch) } + let(:meth) { GitalyServer::OperationsService.instance_method(:user_create_branch) } let(:ex) { StandardError.new("error: failed to push some refs to 'https://fO0BA7:HunTer!@github.com/ruby/ruby.git'") } let(:ex_sanitized_message) { "error: failed to push some refs to 'https://[FILTERED]@github.com/ruby/ruby.git'" } let(:call) { double(metadata: {}) } |