aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test
diff options
context:
space:
mode:
authorclaudiofullscreen <claudio@fullscreen.net>2014-09-26 13:05:00 -0700
committerclaudiofullscreen <claudio@fullscreen.net>2014-09-26 13:05:00 -0700
commit0b725aa7d69665becd597ebe98f3634ad5ed7bd2 (patch)
tree698831dd104994539b7c1b6758d1f3fac62ab4e1 /actionview/test
parent64fcdce1d3a6a8768ab17f3be144270456814f82 (diff)
downloadrails-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.rb2
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'