test/dirmon_entry_test.rb in rocketjob-1.1.3 vs test/dirmon_entry_test.rb in rocketjob-1.2.0
- old
+ new
@@ -243,12 +243,12 @@
end
end
describe '#later' do
it 'enqueue job' do
- @entry.arguments = [{}]
+ @entry.arguments = [{}]
@entry.perform_method = :event
- job = @entry.later(@pathname)
+ job = @entry.later(@pathname)
assert_equal File.join(@archive_directory, "#{job.id}_#{File.basename(@file_name)}"), job.arguments.first[:full_file_name]
assert job.queued?
end
end
end