Sha256: b4ea0cbfa7aacbddf167d18e09f9f23dde4f684bb50521f6ca7dbc1508203bff

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

require "spec_helper"

describe ProtobufDescriptor::ServiceDescriptor do
  describe "#methods" do
    it "has right size" do
      with_descriptor("service_rpc_test") do |descriptor|
        service_descriptor = descriptor["wearabouts_api/user"].services[:UserService]
        expect(service_descriptor).to be_a(ProtobufDescriptor::ServiceDescriptor)
        expect(service_descriptor.methods).to have(3).items
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
protobuf_descriptor-1.0.0 spec/service_descriptor_spec.rb
protobuf_descriptor-0.1.0 spec/service_descriptor_spec.rb