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

- old
+ new

@@ -9,11 +9,11 @@ let(:payload) { 'ohai' } context "inside Celluloid::IO" do it "should be evented" do with_unix_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::UNIXSocket" do with_unix_server do |subject| @@ -38,10 +38,10 @@ end context "outside Celluloid::IO" do it "should be blocking" do with_unix_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::UNIXSocket" do with_unix_server do |subject|