Re: [rspec-users] Event machine support

2010-07-20 Thread rogerdpack
> 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

[rspec-users] Event machine support

2010-07-20 Thread trung
I have a question of how rspec treat eventmachined rails app. 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? Thanks.