[rspec-users] Event machine support

rogerdpack rogerpack2005 at gmail.com
Tue Jul 20 21:05:58 EDT 2010


> My understanding is eventmachined is normally run within Thin, and it
> is Thin who initiates the event loop.
>
> So how do you test the eventmachined rails app? Do we have to modify
> the rspec script to initiate the event loop?

You could also use
before(:all) do
  EM.start_in_other_thread
end

or what not.  I would probably ping the EM group.


More information about the rspec-users mailing list