lib/react/rails/railtie.rb in react-rails-2.5.0 vs lib/react/rails/railtie.rb in react-rails-2.6.0

- old
+ new

@@ -56,10 +56,10 @@ include ::React::Rails::ControllerLifecycle end ActiveSupport.on_load(:action_view) do include ::React::Rails::ViewHelper - ActionDispatch::IntegrationTest.send(:include, React::Rails::TestHelper) + ActionDispatch::IntegrationTest.send(:include, React::Rails::TestHelper) if ::Rails.env.test? end end initializer 'react_rails.add_component_renderer', group: :all do |app| ActionController::Renderers.add :component do |component_name, options|