Class: PeekTest
- Inherits:
-
BeanstalkIntegrationTest
- Object
- MiniTest::Should::TestCase
- BeanstalkIntegrationTest
- PeekTest
- Defined in:
- lib/beanstalk_integration_tests/peek_test.rb
Instance Method Summary collapse
Methods inherited from BeanstalkIntegrationTest
address, #address, #build_client, #cleanup_tubes, #client, #create_buried_jobs, #generate_tube_name, #initialize, #tube_name, #uuid
Methods included from Timeout
Constructor Details
This class inherits a constructor from BeanstalkIntegrationTest
Instance Method Details
#do_setup(pri = 0, delay = 0, ttr = 120, message = uuid) ⇒ Object
235 236 237 238 |
# File 'lib/beanstalk_integration_tests/peek_test.rb', line 235 def do_setup(pri = 0, delay = 0, ttr = 120, = uuid) job_id = client.transmit("put #{pri} #{delay} #{ttr} #{.bytesize}\r\n#{}")[:id] return [job_id, ] end |