Hack Minitest to make it less dependent on at_exit

This commit is contained in:
Benjamin Fleischer
2015-12-20 22:11:19 -06:00
parent 3133422654
commit 2a171da6b9
4 changed files with 93 additions and 25 deletions

View File

@@ -58,3 +58,29 @@ Style/MultilineOperationIndentation:
Style/BlockDelimiters:
Enabled: true
EnforcedStyle: line_count_based
########## test_helper.rb sanity
Style/EndBlock:
Exclude:
- test/test_helper.rb
Style/SpecialGlobalVars:
Exclude:
- test/test_helper.rb
Style/GlobalVars:
Exclude:
- test/test_helper.rb
Style/AndOr:
Exclude:
- test/test_helper.rb
- 'lib/active_model/serializer/lint.rb'
Style/Not:
Exclude:
- test/test_helper.rb
Style/ClassCheck:
Exclude:
- test/test_helper.rb