Commit Graph

7 Commits

Author SHA1 Message Date
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