spec/beanstalk_spec.rb in em-synchrony-0.1.2 vs spec/beanstalk_spec.rb in em-synchrony-0.1.4
- old
+ new
@@ -1,14 +1,16 @@
-require 'spec/helper'
+require 'spec/helper/all'
DELAY = 0.25
+__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')
r.should == 'mytube'
@@ -17,11 +19,12 @@
}.resume
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')