Skip to content

Instantly share code, notes, and snippets.

@kenn
Created May 18, 2011 00:12
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 kenn/977733 to your computer and use it in GitHub Desktop.
Save kenn/977733 to your computer and use it in GitHub Desktop.
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
config.filter_run_excluding :online unless Net::Ping::TCP.new('www.google.com',80,1).ping?
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment