spec/beanstalk_spec.rb in beanstalk-client-rspec-0.0.3 vs spec/beanstalk_spec.rb in beanstalk-client-rspec-0.0.4

- old
+ new

@@ -57,6 +57,14 @@ @beanstalk.reset! @beanstalk.list_tubes_watched.values.flatten.should == ['default'] end end + describe 'beanstalk workflow' do + it 'can reserve an empty tube' do + expect { + @beanstalk.reserve + }.to raise_error Beanstalk::TimedOut + end + end + end