Skip to content

Instantly share code, notes, and snippets.

@wzdf1982
Created May 8, 2013 06:16
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 wzdf1982/5538592 to your computer and use it in GitHub Desktop.
Save wzdf1982/5538592 to your computer and use it in GitHub Desktop.
Rails: spec_helper.rb require support ruby file
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment