diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-07-24 23:45:12 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-07-27 19:09:46 +0300 |
commit | e561b142fa7c9dd636fd056fc0a6c84961d0cd46 (patch) | |
tree | 10e34698af1d5a3647840faee470e6047b782e30 /spec/features | |
parent | 9981814514742a2ee507d4dcc2fd71099fd96585 (diff) |
Backport gitlab-ee!2456
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/admin/admin_manage_applications_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/admin/admin_manage_applications_spec.rb b/spec/features/admin/admin_manage_applications_spec.rb index c1ece123230..f979d2f6090 100644 --- a/spec/features/admin/admin_manage_applications_spec.rb +++ b/spec/features/admin/admin_manage_applications_spec.rb @@ -13,19 +13,24 @@ RSpec.describe 'admin manage applications' do fill_in :doorkeeper_application_name, with: 'test' fill_in :doorkeeper_application_redirect_uri, with: 'https://test.com' + check :doorkeeper_application_trusted click_on 'Submit' expect(page).to have_content('Application: test') expect(page).to have_content('Application Id') expect(page).to have_content('Secret') + expect(page).to have_content('Trusted Y') click_on 'Edit' expect(page).to have_content('Edit application') fill_in :doorkeeper_application_name, with: 'test_changed' + uncheck :doorkeeper_application_trusted + click_on 'Submit' expect(page).to have_content('test_changed') expect(page).to have_content('Application Id') expect(page).to have_content('Secret') + expect(page).to have_content('Trusted N') visit admin_applications_path page.within '.oauth-applications' do |