<    March 2017    >
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 24 25  
26 27 28 29 30 31
02:50 Gunnie joined
04:50 pulkit4tech joined
09:43 Gunnie joined
10:28 Gunnie joined
12:22 Gunnie joined
14:07 Gunnie joined
17:21 Gunnie joined
18:11 expea joined
18:12 <expea> Hey - any advice on unit testing classes that talk to actors with async without a whole lot of stubbing?
18:13 <expea> Is there some way to tell Celluloid 'please block until all mailboxes are empty'?
18:45 <expea> I'm doing something like this, but it feels hacky: until(Celluloid.actor_system.running.inject(0) {|sum, actor| actor.mailbox.count} == 0) do; end
18:46 <expea> I'm doing something like this, but it feels hacky: until(Celluloid.actor_system.running.inject(0) {|sum, actor| actor.mailbox.count} == 0) do; end