Sha256: ca7e18d1216d7e759aed8d5db1cd097338983cdec35c52c7b853120b61e61955
Contents?: true
Size: 589 Bytes
Versions: 30
Compression:
Stored size: 589 Bytes
Contents
require 'spec_helper' require 'spec/support/test/resource_service' 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 = runner_class.new({}) runner.respond_to?(:stop).should be_true end end
Version data entries
30 entries across 30 versions & 1 rubygems