diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-03-04 18:41:46 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-03-04 18:52:26 +0200 |
commit | b41c981bc409ef5882915f4d9a525630eff02a42 (patch) | |
tree | c06c341a8f85c33cc3e8e164557829e088980170 /activerecord/lib/active_record/migration.rb | |
parent | 22a67927f1c3e0fbc6a77b9b1c8892166a171c78 (diff) | |
download | rails-b41c981bc409ef5882915f4d9a525630eff02a42.tar.gz rails-b41c981bc409ef5882915f4d9a525630eff02a42.tar.bz2 rails-b41c981bc409ef5882915f4d9a525630eff02a42.zip |
Fix actionview tests execution
On my local environment execution of `cd actionview/ && bin/test` raises error:
```
(snip)
rails/actionview/test/template/render_test.rb:6:in `<top (required)>': superclass mismatch for class TestController (TypeError)
```
In some test files `TestController` inherited from `ActionController::Base`,
but in `test/actionpack/controller/render_test.rb` file `TestController`
inherited from `ApplicationController`.
This produces error `superclass mismatch for class TestController (TypeError)`
Step to reproduce this on any environment:
`cd actionview/ && bin/test test/template/streaming_render_test.rb test/actionpack/controller/render_test.rb`
Diffstat (limited to 'activerecord/lib/active_record/migration.rb')
0 files changed, 0 insertions, 0 deletions