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
|