Sha256: 5659316e27fc7e191b77dfbdeed85f68ff3c95d56d129af26ba414578fbe2361
Contents?: true
Size: 673 Bytes
Versions: 43
Compression:
Stored size: 673 Bytes
Contents
require 'spec_helper' describe TestFlow, :redis => true do it "should persist and retrieve" do processA = TestFlow.create_process(:arg1, :arg2) processB = Taskinator::Process.fetch(processA.uuid) expect(processB.uuid).to eq(processA.uuid) expect(processB.definition).to eq(processA.definition) expect(processB.options).to eq(processA.options) expect(processB.tasks.count).to eq(processA.tasks.count) tasks = processA.tasks.zip(processB.tasks) tasks.each do |(taskB, taskA)| expect(taskA.process).to eq(taskB.process) expect(taskA.uuid).to eq(taskB.uuid) expect(taskA.options).to eq(taskB.options) end end end
Version data entries
43 entries across 43 versions & 1 rubygems