spec/queue_engine/synchronic_spec.rb in asynchronic-1.2.2 vs spec/queue_engine/synchronic_spec.rb in asynchronic-1.3.0
- old
+ new
@@ -6,9 +6,13 @@
Asynchronic.configure do |config|
config.queue_engine = Asynchronic::QueueEngine::Synchronic.new
end
end
+ after do
+ Asynchronic.environment.data_store.clear
+ end
+
it 'Original job' do
pid = BasicJob.enqueue input: 1
process = Asynchronic[pid]
process.result.must_equal 2
end
\ No newline at end of file