diff options
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/oauth/applications_controller_spec.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/spec/controllers/oauth/applications_controller_spec.rb b/spec/controllers/oauth/applications_controller_spec.rb index 350d5d521..ecd8b16c6 100644 --- a/spec/controllers/oauth/applications_controller_spec.rb +++ b/spec/controllers/oauth/applications_controller_spec.rb @@ -1,8 +1,15 @@ require 'rails_helper' RSpec.describe Oauth::ApplicationsController, type: :controller do + before do + sign_in Fabricate(:user), scope: :user + end + describe 'GET #index' do - it 'returns http success' + it 'returns http success' do + get :index + expect(response).to have_http_status(:success) + end end describe 'POST #create' do |