Skip to content

Commit e91aa9a

Browse files
committed
Fixed buggy Observable shared spec.
1 parent 4809eb1 commit e91aa9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/concurrent/observable_shared.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def notify(*args)
125125
subject.add_observer(observer_class.new{ latch.count_down })
126126
end
127127
trigger_observable(subject)
128+
latch.wait(1)
128129
expect(latch.count).to eq 0
129130
end
130131

0 commit comments

Comments
 (0)