spec/celluloid/io/tcp_server_spec.rb in celluloid-io-0.13.1 vs spec/celluloid/io/tcp_server_spec.rb in celluloid-io-0.14.0.pre

- old
+ new

@@ -5,11 +5,11 @@ let(:payload) { 'ohai' } context "inside Celluloid::IO" do it "should be evented" do with_tcp_server do |subject| - within_io_actor { subject.evented? }.should be_true + within_io_actor { Celluloid::IO.evented? }.should be_true end end it "accepts a connection and returns a Celluloid::IO::TCPSocket" do with_tcp_server do |subject| @@ -24,10 +24,10 @@ end context "outside Celluloid::IO" do it "should be blocking" do with_tcp_server do |subject| - subject.should_not be_evented + Celluloid::IO.should_not be_evented end end it "accepts a connection and returns a Celluloid::IO::TCPSocket" do with_tcp_server do |subject|