Lines Matching refs:expect
47 expect(&blk).to_not raise_error
54 expect(GenericService.underscore('AnRPC')).to eq('an_rpc')
55 expect(GenericService.underscore('AMethod')).to eq('a_method')
56 expect(GenericService.underscore('PrintHTML')).to eq('print_html')
57 expect(GenericService.underscore('SeeHTMLBooks')).to eq('see_html_books')
66 expect(c.methods).to include(:rpc)
75 expect(c.rpc_descs).to include(:AnRpc)
76 expect(c.rpc_descs[:AnRpc]).to be_a(GRPC::RpcDesc)
86 expect(c.rpc_descs).to include(:AnRpc)
87 expect(c.rpc_descs[:AnRpc]).to be_a(GRPC::RpcDesc)
94 expect(c.service_name).to eq('GenericService')
103 expect(c.service_name).to eq('GenericService')
111 expect(c.service_name).to eq('test.service.TestService')
121 expect(c.service_name).to eq('test.service.TestService')
133 expect(&blk).to raise_error ArgumentError
141 expect(&blk).to raise_error ArgumentError
152 expect(&blk).to raise_error ArgumentError
169 expect(&blk).to raise_error ArgumentError
185 expect(&blk).to raise_error ArgumentError
196 expect(&blk).not_to raise_error
208 expect(&blk).not_to raise_error
222 expect(client_class.instance_methods).to include(:an_rpc)
223 expect(client_class.instance_methods).to include(:a_server_streamer)
224 expect(client_class.instance_methods).to include(:a_client_streamer)
225 expect(client_class.instance_methods).to include(:a_bidi_streamer)
241 expect(&blk).not_to raise_error
254 expect(o.methods).to include(:an_rpc)
255 expect(o.methods).to include(:a_bidi_streamer)
256 expect(o.methods).to include(:a_client_streamer)
257 expect(o.methods).to include(:a_bidi_streamer)