aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/module/concerning_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* improve error message when include assertions failMichael Grosser2016-09-161-3/+3
| | | | | | assert [1, 3].includes?(2) fails with unhelpful "Asserting failed" message assert_includes [1, 3], 2 fails with "Expected [1, 3] to include 2" which makes it easier to debug and more obvious what went wrong
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-4/+4
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Introduce Concern#class_methods and Kernel#concernJeremy Kemper2014-02-231-14/+44
|
* Introduce Module#concerningJeremy Kemper2013-12-171-0/+35
A natural, low-ceremony way to separate responsibilities within a class. Imported from https://github.com/37signals/concerning#readme