Skip to content

Commit

Permalink
... jat (just another test)
Browse files Browse the repository at this point in the history
  • Loading branch information
funny-falcon committed Mar 14, 2012
1 parent 2b5ce7a commit 924bdbb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/thread_spec.rb
Expand Up @@ -111,6 +111,18 @@
EM.add_timer(0.1) { EM.stop }
end
end
it "should resume in nested Fiber" do
EM.synchrony do
f = Fiber.new do
m.synchronize do
t = m.sleep(0.05)
t.should >= 0.05
end
EM.stop
end
f.resume
end
end
end
end
end
Expand Down

0 comments on commit 924bdbb

Please sign in to comment.