Skip to content

Instantly share code, notes, and snippets.

@meh
Forked from adambeynon/opal_rspec_timeout.rb
Last active December 27, 2015 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meh/7267345 to your computer and use it in GitHub Desktop.
Save meh/7267345 to your computer and use it in GitHub Desktop.
describe "Timeouts" do
timeout 0.1
async "hurr" do
run_async { :ok }
end
async "blah", 4 do
run_async { :ok }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment