Sha256: 514ebcf98a89e7f6f7309657ab2e50a53060e6720e013dd32643bc6628479a78

Contents?: true

Size: 361 Bytes

Versions: 43

Compression:

Stored size: 361 Bytes

Contents

<%- assert_locals method -%>
<%- if method.paged? -%>
assert_kind_of Gapic::PagedEnumerable, response
assert_equal grpc_response, response.response
<%- elsif method.lro? %>
assert_kind_of Gapic::Operation, response
assert_equal grpc_response, response.grpc_op
<%- else -%>
assert_equal grpc_response, response
<%- end -%>
assert_equal grpc_operation, operation

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
gapic-generator-0.1.2 templates/default/service/test/method/_assert_response.erb
gapic-generator-0.1.1 templates/default/service/test/method/_assert_response.erb
gapic-generator-0.1.0 templates/default/service/test/method/_assert_response.erb