diff options
author | claudiofullscreen <claudio@fullscreen.net> | 2014-09-26 13:05:00 -0700 |
---|---|---|
committer | claudiofullscreen <claudio@fullscreen.net> | 2014-09-26 13:05:00 -0700 |
commit | 0b725aa7d69665becd597ebe98f3634ad5ed7bd2 (patch) | |
tree | 698831dd104994539b7c1b6758d1f3fac62ab4e1 /actionview/test | |
parent | 64fcdce1d3a6a8768ab17f3be144270456814f82 (diff) | |
download | rails-0b725aa7d69665becd597ebe98f3634ad5ed7bd2.tar.gz rails-0b725aa7d69665becd597ebe98f3634ad5ed7bd2.tar.bz2 rails-0b725aa7d69665becd597ebe98f3634ad5ed7bd2.zip |
Don’t require already required modules
abstract_unit.rb requires `action_controller` which [already includes the following lines of code](https://github.com/rails/rails/blob/64fcdce1d3a6a8768ab17f3be144270456814f82/actionpack/lib/action_controller.rb#L2L3):
```ruby
require 'abstract_controller'
require 'action_dispatch'
```
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/abstract_unit.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionview/test/abstract_unit.rb b/actionview/test/abstract_unit.rb index e51461d82c..7096d588b6 100644 --- a/actionview/test/abstract_unit.rb +++ b/actionview/test/abstract_unit.rb @@ -16,11 +16,9 @@ silence_warnings do end require 'active_support/testing/autorun' -require 'abstract_controller' require 'action_controller' require 'action_view' require 'action_view/testing/resolvers' -require 'action_dispatch' require 'active_support/dependencies' require 'active_model' require 'active_record' |