spec/beanstalk_spec.rb in em-synchrony-0.1.4 vs spec/beanstalk_spec.rb in em-synchrony-0.1.5

- old
+ new

@@ -5,11 +5,11 @@ __END__ describe EMJack do it "should fire sequential Beanstalk requests" do pending - + EventMachine.run do Fiber.new { jack = EMJack::Connection.new r = jack.use('mytube') @@ -20,25 +20,25 @@ end end it "should fire multiple requests in parallel" do pending - + EventMachine.run do Fiber.new { jack = EMJack::Connection.new multi = EventMachine::Multi.new multi.add jack.ause('mytube-1') multi.add jack.ause('mytube-2') res = multi.perform - + res.responses.size.should == 2 p [:multi, res.responses] - + EventMachine.stop }.resume end end - + end