Sha256: b043c4e0c71fe67a2ebb096f9a870c0a25511c96abb4c92d509bf6a49edff02a
Contents?: true
Size: 555 Bytes
Versions: 2
Compression:
Stored size: 555 Bytes
Contents
require 'spec_helper' require 'spec/proto/test_service_impl' require 'protobuf/rpc/servers/evented_runner' require 'protobuf/evented' describe Protobuf::Rpc::Evented::Server do it "provides a Runner class" do runner_class = described_class.to_s.gsub(/Evented::Server/, "EventedRunner") expect { runner_class.constantize }.to_not raise_error end it "Runner provides a stop method" do runner_class = described_class.to_s.gsub(/Evented::Server/, "EventedRunner").constantize runner_class.respond_to?(:stop).should be_true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
protobuf-2.0.0.rc2 | spec/lib/protobuf/rpc/servers/evented_server_spec.rb |
protobuf-2.0.0.rc1 | spec/lib/protobuf/rpc/servers/evented_server_spec.rb |