1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-26 20:48:19 +09:00
mastodon/spec/controllers/oauth/authorized_applications_controller_spec.rb

22 lines
356 B
Ruby
Raw Normal View History

# 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