diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-02-27 12:03:22 +0100 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-02-28 12:05:19 +0100 |
commit | 417e3ba8e3f02361a8fecd116f269fe69732a3b5 (patch) | |
tree | 9a5e2da4c6cf54ff38f5fcf9a7680725a5bdf255 /spec/controllers/oauth | |
parent | 4371f845649deaf6bf31f0a675b33f1d58f64de4 (diff) | |
download | gitlab-ce-417e3ba8e3f02361a8fecd116f269fe69732a3b5.tar.gz |
Specify base controller for Doorkeeperbvl-fix-qa-doorkeeper
This will make sure the `ApplicantionController#can?` method is
available for views rendering menus based on the current user's abilities.
Diffstat (limited to 'spec/controllers/oauth')
-rw-r--r-- | spec/controllers/oauth/authorizations_controller_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/controllers/oauth/authorizations_controller_spec.rb b/spec/controllers/oauth/authorizations_controller_spec.rb index 004b463e745..149b690ff70 100644 --- a/spec/controllers/oauth/authorizations_controller_spec.rb +++ b/spec/controllers/oauth/authorizations_controller_spec.rb @@ -34,6 +34,8 @@ describe Oauth::AuthorizationsController do end context 'with valid params' do + render_views + it 'returns 200 code and renders view' do get :new, params |