Skip to content

Instantly share code, notes, and snippets.

@clicube
Last active December 14, 2015 02:59
Show Gist options
  • Save clicube/5017378 to your computer and use it in GitHub Desktop.
Save clicube/5017378 to your computer and use it in GitHub Desktop.
To use SimpleCov with fork, add this code to spec_helper.rb
pid = Process.pid
SimpleCov.at_exit do
SimpleCov.result.format! if Process.pid == pid
end
@phortx
Copy link

phortx commented Jan 3, 2014

Thanks! Helped me a lot :)

@cesarandreu
Copy link

👍 thanks

@janraasch
Copy link

Thank you, kind sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment