Sha256: 742edf75b1f896148bb3bec8816c421361552d44a18399280295133f6c79f741

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

require 'spec_helper'
require 'saorin/server/base'

describe Saorin::Server::Base do
  it_should_behave_like 'rpc call' do
    let(:process) do
      handler = Saorin::Test::Handler.new
      class VanillaServer
        include Saorin::Server::Base
      end
      server = VanillaServer.new handler
      proc do |input|
        server.process_request input
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
saorin-0.3.2 spec/server/base_spec.rb
saorin-0.3.1 spec/server/base_spec.rb
saorin-0.3.0 spec/server/base_spec.rb