diff options
Diffstat (limited to 'actiontext/lib/action_text/engine.rb')
-rw-r--r-- | actiontext/lib/action_text/engine.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/actiontext/lib/action_text/engine.rb b/actiontext/lib/action_text/engine.rb index 51ff5b575b..0c2aebfd08 100644 --- a/actiontext/lib/action_text/engine.rb +++ b/actiontext/lib/action_text/engine.rb @@ -46,5 +46,12 @@ module ActionText before_action { ActionText::Content.renderer = ApplicationController.renderer.new(request.env) } end end + + initializer "action_text.system_test_helper" do + ActiveSupport.on_load(:action_dispatch_system_test_case) do + require "action_text/system_test_helper" + include ActionText::SystemTestHelper + end + end end end |