diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-01-23 15:45:34 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-01-28 12:29:34 +0100 |
commit | d28e5b94a7ef90cd9e569f5c12485814fcadd70a (patch) | |
tree | c483c37f26a98e4bad4671869067bf6f07216cc6 /activesupport/lib/active_support/test_case.rb | |
parent | 71a84206ab4d3488ac0d522a7375efc67301aae5 (diff) | |
download | rails-d28e5b94a7ef90cd9e569f5c12485814fcadd70a.tar.gz rails-d28e5b94a7ef90cd9e569f5c12485814fcadd70a.tar.bz2 rails-d28e5b94a7ef90cd9e569f5c12485814fcadd70a.zip |
introduce `ActiveSupport::Testing::FileFixtures`.
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.
Diffstat (limited to 'activesupport/lib/active_support/test_case.rb')
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index c7d6c62129..739823bd56 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -8,6 +8,7 @@ require 'active_support/testing/declarative' require 'active_support/testing/isolation' require 'active_support/testing/constant_lookup' require 'active_support/testing/time_helpers' +require 'active_support/testing/file_fixtures' require 'active_support/core_ext/kernel/reporting' module ActiveSupport @@ -55,6 +56,7 @@ module ActiveSupport include ActiveSupport::Testing::Assertions include ActiveSupport::Testing::Deprecation include ActiveSupport::Testing::TimeHelpers + include ActiveSupport::Testing::FileFixtures extend ActiveSupport::Testing::Declarative # test/unit backwards compatibility methods |