-
Notifications
You must be signed in to change notification settings - Fork 21.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define the configuration at Active Support
- Loading branch information
Rafael Mendonça França
committed
Sep 11, 2014
1 parent
8edb5ee
commit 53e877f
Showing
4 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
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
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
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
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
53e877f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rafaelfranca FWIW the implication of this change is that whereas it was previously ok to just require
active_support/test_case
, it is now necessary to requireactive_support
explicitly too. It broke Spring's tests: rails/spring@a3daa74 Not a massive issue but thought I'd point it out in case you want to add theactive_support
require intoactive_support/test_case
.53e877f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah. I was in doubt when I did this change. Our guidelines says we always have to require the top level file of a framework when want to cherry-pick specific files. This is why I didn't add the require in
active_support/test_case
.Our documentation already explain this guideline http://guides.rubyonrails.org/active_support_core_extensions.html#stand-alone-active-support