chatwoot-develop/spec/controllers/super_admin/devise/sessions_controller_spec.rb

13 lines
300 B
Ruby
Executable File

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