mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-28 15:53:44 +01:00
16 lines
312 B
Ruby
16 lines
312 B
Ruby
|
require 'rails_helper'
|
||
|
|
||
|
RSpec.describe Admin::InstancesController, type: :controller do
|
||
|
before do
|
||
|
sign_in Fabricate(:user, admin: true), scope: :user
|
||
|
end
|
||
|
|
||
|
describe 'GET #index' do
|
||
|
it 'returns http success' do
|
||
|
get :index
|
||
|
|
||
|
expect(response).to have_http_status(:success)
|
||
|
end
|
||
|
end
|
||
|
end
|