Xavier Noria
a731125f12
applies new string literal convention in activesupport/test
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:10:53 +02:00
Guo Xiang Tan
6e0f273dfd
Use safe_constantize
.
...
Fixes https://github.com/rails/rails/issues/9933 .
2014-09-02 00:41:00 +08:00
Akira Matsuda
4e68765cf6
Unused classes in AS tests
2013-12-19 16:30:16 +09:00
Xavier Noria
341e611547
determine_constant_from_test_name does not swallow NoMethodErrors [Yves Senn]
2013-03-28 10:04:39 +01:00
Carlos Antonio da Silva
5cdeb5ef7d
Fix typo in test name
2012-11-04 12:07:06 -02:00
Andy Lindeman
ba34110677
ConstantLookup is not needed in every TestCase decendant
2012-09-26 23:21:52 -04:00
Mike Moore
b13400086c
Add missing inflector dependency
2012-09-25 15:40:00 -06:00
Mike Moore
4894eef448
Create ActiveSupport::Testing::ConstantLookup
...
AS::TC::ConstantLookup walks the test's name to find the constant it is describing.
This additional lookup logic is needed to better support minitest's spec DSL.
2012-09-24 13:44:49 -06:00