Module: ProtoPharm::RSpec::DSL

Defined in:
lib/proto_pharm/rspec/dsl.rb

Instance Method Summary collapse

Instance Method Details

#allow_grpc_service(service) ⇒ Object



6
7
8
# File 'lib/proto_pharm/rspec/dsl.rb', line 6

def allow_grpc_service(service)
  ActionStubBuilder.new(service)
end

#receive_rpc(rpc_action) ⇒ Object



10
11
12
# File 'lib/proto_pharm/rspec/dsl.rb', line 10

def receive_rpc(rpc_action)
  ActionStubProxy.new(rpc_action)
end