diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index d2cff5e303..d3d97e3a04 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -13,7 +13,7 @@
.content
%h2= yield :page_title
- = render 'flashes'
+ = render 'application/flashes'
= yield
diff --git a/spec/controllers/oauth/authorized_applications_controller_spec.rb b/spec/controllers/oauth/authorized_applications_controller_spec.rb
new file mode 100644
index 0000000000..f5d64bd90b
--- /dev/null
+++ b/spec/controllers/oauth/authorized_applications_controller_spec.rb
@@ -0,0 +1,21 @@
+# 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