|
|
|
@ -75,14 +75,14 @@ describe GRPC::Core::Call do |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
describe '#start_read' do |
|
|
|
|
it 'should fail if called immediately' do |
|
|
|
|
xit 'should fail if called immediately' do |
|
|
|
|
blk = proc { make_test_call.start_read(@tag) } |
|
|
|
|
expect(&blk).to raise_error GRPC::Core::CallError |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
describe '#start_write' do |
|
|
|
|
it 'should fail if called immediately' do |
|
|
|
|
xit 'should fail if called immediately' do |
|
|
|
|
bytes = GRPC::Core::ByteBuffer.new('test string') |
|
|
|
|
blk = proc { make_test_call.start_write(bytes, @tag) } |
|
|
|
|
expect(&blk).to raise_error GRPC::Core::CallError |
|
|
|
@ -90,14 +90,14 @@ describe GRPC::Core::Call do |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
describe '#start_write_status' do |
|
|
|
|
it 'should fail if called immediately' do |
|
|
|
|
xit 'should fail if called immediately' do |
|
|
|
|
blk = proc { make_test_call.start_write_status(153, 'x', @tag) } |
|
|
|
|
expect(&blk).to raise_error GRPC::Core::CallError |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
describe '#writes_done' do |
|
|
|
|
it 'should fail if called immediately' do |
|
|
|
|
xit 'should fail if called immediately' do |
|
|
|
|
blk = proc { make_test_call.writes_done(Object.new) } |
|
|
|
|
expect(&blk).to raise_error GRPC::Core::CallError |
|
|
|
|
end |
|
|
|
|