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.
Ruby agplai-assistantdockerdsgvogdprhotwireissue-trackerjira-alternativeknowledge-basellmmcp-servermeeting-notesopen-sourceproject-managementredmine-alternativeruby-on-railsself-hostedticketingtime-tracking
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'Organisations::BaseController authentication', type: :request do
describe 'when the session is absent (e.g. Devise timeout)' do
it 'redirects to the login page instead of raising a 500' do
get organisation_memberships_path(organisation_id: SecureRandom.uuid)
expect(response).to have_http_status(:found)
expect(response).to redirect_to(new_user_session_path)
end
end
end