闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
356 B

  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. describe Oauth::AuthorizedApplicationsController do
  4. render_views
  5. before do
  6. sign_in Fabricate(:user), scope: :user
  7. end
  8. describe 'GET #index' do
  9. before do
  10. get :index
  11. end
  12. it 'returns http success' do
  13. expect(response).to have_http_status(:success)
  14. end
  15. end
  16. end