Skip to content

Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.

284 B
Raw Blame
# frozen_string_literal: true

module ComponentSessionShim
  # Avoid ActionDispatch::TestProcess#session recursion in component specs
  def session
    @__component_fake_session ||= {}
  end
end

RSpec.configure do |config|
  config.include ComponentSessionShim, type: :component
end