Commit Graph

3 Commits

Author SHA1 Message Date
Ryuta Kamizono 14ff8e7906 Fix debug helper test 2016-06-03 00:43:42 +09:00
Aaron Patterson 5eaeb37080 don't need to rescue Exception in this case 2015-03-05 15:19:44 -08:00
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