test/test_helper.rb in stimulus_reflex-3.4.1 vs test/test_helper.rb in stimulus_reflex-3.4.2
- old
+ new
@@ -27,9 +27,43 @@
def load!
nil
end
end
+class ApplicationReflex < StimulusReflex::Reflex
+ def application_reflex
+ end
+
+ private
+
+ def private_application_reflex
+ end
+end
+
+class PostReflex < ApplicationReflex
+ def post_reflex
+ end
+
+ private
+
+ def private_post_reflex
+ end
+end
+
+class NoReflex
+ def no_reflex
+ end
+end
+
+module CounterConcern
+ def increment
+ end
+end
+
+class CounterReflex < ApplicationReflex
+ include CounterConcern
+end
+
class ActionDispatch::Request
def session
@session ||= SessionMock.new
end
end