Skip to content

Commit 3a4e915

Browse files
committed
Adapt spec/unit/waiter_multi_spec.rb
1 parent 95dc399 commit 3a4e915

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

spec/unit/waiter_multi_spec.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@
184184
expect(ptr.type).to eq('tasker')
185185
expect(ptr.name).to eq('hole')
186186

187-
#expect(ptr.payload).to eq('target' => 'Talos IV')
188-
expect(ptr.payload['target'].to eq('Talos IV')
187+
expect(ptr.payload).to eq('ret' => 'hole', 'target' => 'Talos IV')
189188
end
190189

191190
it 'lets the launcher wait for the presence of a task at a nid' do
@@ -213,8 +212,7 @@
213212
expect(ptr.type).to eq('tasker')
214213
expect(ptr.name).to eq('hole')
215214
expect(ptr.value).to eq('take 2')
216-
217-
#expect(ptr.payload).to eq({})
215+
expect(ptr.payload).to eq('ret' => 'take 2')
218216
end
219217

220218
it 'lets the launcher wait for two taskers' do

0 commit comments

Comments
 (0)