Sha256: aae2be1826e1a64d27490b49cdcb8ce64e43fe30a9ce407cc1884f9160ef5482
Contents?: true
Size: 439 Bytes
Versions: 1
Compression:
Stored size: 439 Bytes
Contents
require File.dirname(__FILE__) + "/../spec_helper" describe Compp::Connection do it "should be a EventMachine::HttpServer" do c = Compp::Connection.new("") c.should be_a(Compp::Connection) end describe "orbitize" do it "should send the data's to_s and add \r\n" do c = Compp::Connection.new("") data = "data" c.should_receive(:send_data).with("#{data}\r\n") c.orbitize(data) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
compp-1.0.0 | spec/compp/connection_spec.rb |