trung
1
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.
trung
2
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.