aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/testing/resolvers.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-10-27 09:13:38 +0200
committerXavier Noria <fxn@hashref.com>2016-10-27 09:13:55 +0200
commit56832e791f3ec3e586cf049c6408c7a183fdd3a1 (patch)
tree6dcbbf04047cf7b7bbcdaf83410c6b872b1d3928 /actionview/lib/action_view/testing/resolvers.rb
parentb27a08735c90116d788cd87441205fba663ce6c3 (diff)
downloadrails-56832e791f3ec3e586cf049c6408c7a183fdd3a1.tar.gz
rails-56832e791f3ec3e586cf049c6408c7a183fdd3a1.tar.bz2
rails-56832e791f3ec3e586cf049c6408c7a183fdd3a1.zip
let Regexp#match? be globally available
Regexp#match? should be considered to be part of the Ruby core library. We are emulating it for < 2.4, but not having to require the extension is part of the illusion of the emulation.
Diffstat (limited to 'actionview/lib/action_view/testing/resolvers.rb')
-rw-r--r--actionview/lib/action_view/testing/resolvers.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/actionview/lib/action_view/testing/resolvers.rb b/actionview/lib/action_view/testing/resolvers.rb
index 5cb9f66529..f072664535 100644
--- a/actionview/lib/action_view/testing/resolvers.rb
+++ b/actionview/lib/action_view/testing/resolvers.rb
@@ -1,4 +1,3 @@
-require "active_support/core_ext/regexp"
require "action_view/template/resolver"
module ActionView #:nodoc: