mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-05 05:27:48 +00:00
* fix: lograge superadmin path * chore: add spec for superadmin devise session controller * chore: address review comment
13 lines
300 B
Ruby
13 lines
300 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe 'Super Admin', type: :request do
|
|
describe '/super_admin' do
|
|
it 'renders the login page' do
|
|
with_modified_env LOGRAGE_ENABLED: 'true' do
|
|
get '/super_admin/sign_in'
|
|
expect(response).to have_http_status(:ok)
|
|
end
|
|
end
|
|
end
|
|
end
|