We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c548aa4 commit d7c0042Copy full SHA for d7c0042
lib/prototype-rails/selector_assertions.rb
@@ -1,5 +1,4 @@
1
require 'active_support/core_ext/module/aliasing'
2
-require 'action_view/vendor/html-scanner'
3
require 'action_dispatch/testing/assertions'
4
require 'action_dispatch/testing/assertions/selector'
5
@@ -8,7 +7,8 @@
8
7
# Under MIT and/or CC By license.
9
#++
10
11
-ActionDispatch::Assertions::SelectorAssertions.module_eval do
+module PrototypeRails
+ module SelectorAssertions
12
# Selects content from the RJS response.
13
#
14
# === Narrowing down
@@ -193,7 +193,6 @@ def response_from_page_with_rjs
193
response_from_page_without_rjs
194
end
195
196
- alias_method_chain :response_from_page, :rjs
197
198
# Unescapes a RJS string.
199
def unescape_rjs(rjs_string)
@@ -208,3 +207,4 @@ def unescape_rjs(rjs_string)
208
207
unescaped
209
210
+end
0 commit comments