mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-09 16:35:48 +00:00
22 lines
356 B
Ruby
22 lines
356 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require 'rails_helper'
|
||
|
|
||
|
describe Oauth::AuthorizedApplicationsController do
|
||
|
render_views
|
||
|
|
||
|
before do
|
||
|
sign_in Fabricate(:user), scope: :user
|
||
|
end
|
||
|
|
||
|
describe 'GET #index' do
|
||
|
before do
|
||
|
get :index
|
||
|
end
|
||
|
|
||
|
it 'returns http success' do
|
||
|
expect(response).to have_http_status(:success)
|
||
|
end
|
||
|
end
|
||
|
end
|