spec/channel_spec.rb in agent-0.9.0 vs spec/channel_spec.rb in agent-0.9.1
- old
+ new
@@ -46,10 +46,10 @@
c.direction.should == :receive
# timeout blocking receive calls
timed_out = false
select! do |s|
- s.case(c, :receive){}
+ s.case(c, :receive)
s.timeout(0.1){ timed_out = true }
end
timed_out.should == true
c.close
end