aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/spec/pb/health/checker_spec.rb
diff options
context:
space:
mode:
authorGravatar Robbie Shade <rjshade@google.com>2016-08-23 14:37:08 -0400
committerGravatar Robbie Shade <rjshade@google.com>2016-08-23 14:37:08 -0400
commit19370fcdc6d223edc54004307f8bf90aa0543d59 (patch)
tree17de39719ad5772ac38e2f674e1ad2f849818648 /src/ruby/spec/pb/health/checker_spec.rb
parenta2569e1a4b8cbd4dd11515a140b2f5a199e5c6fa (diff)
parent56d7044ed808e08af8b7a812a140bd751622f15c (diff)
Merge branch 'master' into delete_timeout_enum
Diffstat (limited to 'src/ruby/spec/pb/health/checker_spec.rb')
-rw-r--r--src/ruby/spec/pb/health/checker_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ruby/spec/pb/health/checker_spec.rb b/src/ruby/spec/pb/health/checker_spec.rb
index de11c9fedf..1b2fa96827 100644
--- a/src/ruby/spec/pb/health/checker_spec.rb
+++ b/src/ruby/spec/pb/health/checker_spec.rb
@@ -28,7 +28,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
require 'grpc'
-require 'grpc/health/v1/health'
+require 'grpc/health/v1/health_pb'
require 'grpc/health/checker'
require 'open3'
require 'tmpdir'
@@ -43,7 +43,7 @@ describe 'Health protobuf code generation' do
skip 'protoc || grpc_ruby_plugin missing, cannot verify health code-gen'
else
it 'should already be loaded indirectly i.e, used by the other specs' do
- expect(require('grpc/health/v1/health_services')).to be(false)
+ expect(require('grpc/health/v1/health_services_pb')).to be(false)
end
it 'should have the same content as created by code generation' do
@@ -52,7 +52,7 @@ describe 'Health protobuf code generation' do
# Get the current content
service_path = File.join(root_dir, 'ruby', 'pb', 'grpc',
- 'health', 'v1', 'health_services.rb')
+ 'health', 'v1', 'health_services_pb.rb')
want = nil
File.open(service_path) { |f| want = f.read }
@@ -62,7 +62,7 @@ describe 'Health protobuf code generation' do
got = nil
Dir.mktmpdir do |tmp_dir|
gen_out = File.join(tmp_dir, 'grpc', 'health', 'v1',
- 'health_services.rb')
+ 'health_services_pb.rb')
pid = spawn(
'protoc',
'-I.',