diff options
author | claudiob <claudiob@gmail.com> | 2014-11-21 12:33:44 -0800 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2014-11-21 12:38:28 -0800 |
commit | 1000e4c51ad4ba6816b0a3356e6ecd6c911f5755 (patch) | |
tree | 522914871f03931c9a14c3fa8960a1f8bb0f3cde /activerecord/lib/active_record.rb | |
parent | 7e375afba30951b60a3e606ccbfe3f28b0df5e1a (diff) | |
download | rails-1000e4c51ad4ba6816b0a3356e6ecd6c911f5755.tar.gz rails-1000e4c51ad4ba6816b0a3356e6ecd6c911f5755.tar.bz2 rails-1000e4c51ad4ba6816b0a3356e6ecd6c911f5755.zip |
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](https://github.com/rails/rails/blob/f28d1ddd507174ac233b773cc4f35c3c05ad32e7/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
```
Diffstat (limited to 'activerecord/lib/active_record.rb')
0 files changed, 0 insertions, 0 deletions