aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2019-05-27 15:35:08 -0700
committerJohn Hawthorn <john@hawthorn.email>2019-06-03 18:59:51 -0700
commit17424a7de15694432405f56f97424d50b2e908b5 (patch)
tree0bb8d9751dcd137c531b951315dabefe4fdbd6e6 /actionpack/test
parentc926ca46280aee795b98206dd0707a96b9423cc5 (diff)
downloadrails-17424a7de15694432405f56f97424d50b2e908b5.tar.gz
rails-17424a7de15694432405f56f97424d50b2e908b5.tar.bz2
rails-17424a7de15694432405f56f97424d50b2e908b5.zip
Give HelperMethods module a name
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/helper_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/controller/helper_test.rb b/actionpack/test/controller/helper_test.rb
index de8072a994..93a2ba1071 100644
--- a/actionpack/test/controller/helper_test.rb
+++ b/actionpack/test/controller/helper_test.rb
@@ -150,8 +150,8 @@ class HelperTest < ActiveSupport::TestCase
end
def test_default_helpers_only
- assert_equal [JustMeHelper], JustMeController._helpers.ancestors.reject(&:anonymous?)
- assert_equal [MeTooHelper, JustMeHelper], MeTooController._helpers.ancestors.reject(&:anonymous?)
+ assert_equal %w[JustMeHelper], JustMeController._helpers.ancestors.reject(&:anonymous?).map(&:to_s)
+ assert_equal %w[MeTooController::HelperMethods MeTooHelper JustMeHelper], MeTooController._helpers.ancestors.reject(&:anonymous?).map(&:to_s)
end
def test_base_helper_methods_after_clear_helpers