1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test/activerecord
claudiob 1000e4c51a Move test that depends on ActiveRecord
This commit moves a test from `test/template` to `test/activerecord` since the
test depends on ActiveRecord.

This matches the documentation from [RUNNING_UNIT_TESTS](f28d1ddd50/actionview/RUNNING_UNIT_TESTS.rdoc):

> Test cases in the test/activerecord/ directory depend on having activerecord and sqlite3 installed.
> If Active Record is not in actionview/../activerecord directory, or the sqlite3 rubygem is not installed, these tests are skipped.
> Other tests are runnable from a fresh copy of actionview without any configuration.

---

More details about this commit.

All the tests starting with `require 'active_record_unit'` are already
inside `test/activerecord`, except for the one test this commit moves.

If you don't have `active_record` on your machine, the following command
currently fails on master:

```bash
```
2014-11-21 12:38:28 -08:00
..
controller_runtime_test.rb Removed warning 2014-08-18 20:41:03 -03:00
debug_helper_test.rb Move test that depends on ActiveRecord 2014-11-21 12:38:28 -08:00
form_helper_activerecord_test.rb Remove wrapping div with inline styles for hidden form fields. 2014-04-14 19:45:12 +02:00
polymorphic_routes_test.rb Remove internal options from query string of paths 2014-09-25 17:50:16 +02:00
render_partial_with_record_identification_test.rb