aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/testing
Commit message (Collapse)AuthorAgeFilesLines
* applies new string literal convention in activesupport/testXavier Noria2016-08-063-8/+8
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Pathname might not be always initialized.Vít Ondruch2016-07-041-0/+2
| | | | Require 'pathname' explicitly
* Do not depend on Rails git repository layout in ActiveSupport tests.Vít Ondruch2016-07-011-2/+2
|
* Cleaned up generators tests using internal assertion helperRonak Jangir2015-08-201-0/+6
|
* Replacing lambda with proc getting argument error because of it.Ronak Jangir2015-08-171-0/+6
|
* Added helper methods to stub any instanceRonak Jangir2015-08-131-0/+13
|
* Add multiple expected calls to assert_called_with.Kasper Timm Hansen2015-07-101-0/+7
|
* Add method call assertions for internal use.Kasper Timm Hansen2015-07-081-0/+91
| | | | | Add `assert_called` and `assert_not_called` to boil down the boilerplate we need to write to assert methods are called certain number of times.
* introduce `ActiveSupport::Testing::FileFixtures`.Yves Senn2015-01-281-0/+28
| | | | | | It's a thin layer to provide easy access to sample files throughout test-cases. This adds the directory `test/fixtures/files` to newly generated applications.
* Use `safe_constantize`.Guo Xiang Tan2014-09-021-0/+8
| | | | Fixes https://github.com/rails/rails/issues/9933.
* Unused classes in AS testsAkira Matsuda2013-12-191-1/+0
|
* determine_constant_from_test_name does not swallow NoMethodErrors [Yves Senn]Xavier Noria2013-03-281-0/+10
|
* extract PerformanceTest into rails-performance_tests gemYves Senn2013-01-101-68/+0
|
* Fix typo in test nameCarlos Antonio da Silva2012-11-041-1/+1
|
* some ruby interpreters don't have ruby-prof so just skip the testsAaron Patterson2012-10-181-3/+12
| | | | rather than exiting the process.
* ConstantLookup is not needed in every TestCase decendantAndy Lindeman2012-09-261-0/+1
|
* Add missing inflector dependencyMike Moore2012-09-251-1/+1
|
* Create ActiveSupport::Testing::ConstantLookupMike Moore2012-09-241-0/+58
| | | | | 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.
* Eliminate dependency on Rails::VERSION::STRINGAndrew White2012-06-051-2/+21
| | | | | | To facilitate the use of ActiveSupport::Testing::Performance outside of a Rails application conditionally check for the presence of Rails::VERSION::STRING before including it in the environment string.
* decoupling activesupport performance testing from actionview and adding testsAndrew Mutz2012-05-281-0/+40