Created
May 8, 2013 06:16
-
-
Save wzdf1982/5538592 to your computer and use it in GitHub Desktop.
Rails: spec_helper.rb require support ruby file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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