Files
chatwoot/spec/controllers/super_admin/devise/sessions_controller_spec.rb
Vishnu Narayanan 51fb3b7e8e fix: enable lograge in superadmin path (#7026)
* fix: lograge superadmin path
* chore: add spec for superadmin devise session controller
* chore: address review comment
2023-05-08 13:43:55 +05:30

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