summaryrefslogtreecommitdiff
path: root/spec/features/admin
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-03-21 07:21:01 +0000
committerRobert Speicher <robert@gitlab.com>2017-03-21 07:21:01 +0000
commitf592cae12992f86d711973a82296abfd7bf05bc4 (patch)
tree67d61337763428013489b0a260d78044cb379dcb /spec/features/admin
parent977f6e379683d096aa5ae2db15330f35c3796dd2 (diff)
parent4e1cebabc7906f46cfab15602a5b9ae15448598d (diff)
downloadgitlab-ce-f592cae12992f86d711973a82296abfd7bf05bc4.tar.gz
Merge branch 'sh-fix-admin-application-settings' into 'master'
Fix Error 500 when application settings are saved Closes #29674 and #29115 See merge request !10070
Diffstat (limited to 'spec/features/admin')
-rw-r--r--spec/features/admin/admin_settings_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/features/admin/admin_settings_spec.rb b/spec/features/admin/admin_settings_spec.rb
index b4095095887..03daab12c8f 100644
--- a/spec/features/admin/admin_settings_spec.rb
+++ b/spec/features/admin/admin_settings_spec.rb
@@ -9,6 +9,13 @@ feature 'Admin updates settings', feature: true do
visit admin_application_settings_path
end
+ scenario 'Change visibility settings' do
+ choose "application_setting_default_project_visibility_20"
+ click_button 'Save'
+
+ expect(page).to have_content "Application settings saved successfully"
+ end
+
scenario 'Change application settings' do
uncheck 'Gravatar enabled'
fill_in 'Home page URL', with: 'https://about.gitlab.com/'