Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise exceptions instead of rendering error templates in test environ…
…ment [#4315 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 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
d898a4b
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.
Yay! I've been meaning to create an issue for this, great that it's fixed!
d898a4b
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.
been curious for a while but never bothered to ask, why the
show_exceptions
config default tofalse
? doesn't it lead to confusing errors on assertions or even hide bugs if you don't do any assertion on the template rendered? I'm running tests on rspec / capybara, wonder if this is any different on minitest?