test/dirmon_job_test.rb in rocketjob-0.8.0 vs test/dirmon_job_test.rb in rocketjob-0.9.0
- old
+ new
@@ -3,11 +3,11 @@
# Unit Test for RocketJob::Job
class DirmonJobTest < Minitest::Test
context RocketJob::Jobs::DirmonJob do
setup do
- @server = RocketJob::Server.new
- @server.started
+ @worker = RocketJob::Worker.new
+ @worker.started
@dirmon_job = RocketJob::Jobs::DirmonJob.new
@archive_directory = '/tmp/archive_directory'
@entry = RocketJob::DirmonEntry.new(
path: 'abc/*',
job: 'Jobs::TestJob',