diff options
author | Rémy Coutable <remy@rymai.me> | 2017-08-11 17:33:45 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-08-11 17:33:45 +0000 |
commit | 455dc74e65e7461c1a51bf3ea6594fe20b9df90c (patch) | |
tree | 774f83562305748b671f07d94f91c42079a8e066 /spec/features | |
parent | 5ab158f5459dc774f4613cab43de721b6366d833 (diff) | |
parent | 649d042dbc9e2bfda96bb98b0eabd4b00ea2daff (diff) | |
download | gitlab-ce-455dc74e65e7461c1a51bf3ea6594fe20b9df90c.tar.gz |
Merge branch 'disable-project-export' into 'master'
Add option to disable project export on instance
See merge request !13211
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/admin/admin_settings_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/admin/admin_settings_spec.rb b/spec/features/admin/admin_settings_spec.rb index c9591a7d854..5db42175c15 100644 --- a/spec/features/admin/admin_settings_spec.rb +++ b/spec/features/admin/admin_settings_spec.rb @@ -35,6 +35,7 @@ feature 'Admin updates settings' do fill_in 'Help page text', with: 'Example text' check 'Hide marketing-related entries from help' fill_in 'Support page URL', with: 'http://example.com/help' + uncheck 'Project export enabled' click_button 'Save' expect(current_application_settings.gravatar_enabled).to be_falsey @@ -42,6 +43,7 @@ feature 'Admin updates settings' do expect(current_application_settings.help_page_text).to eq "Example text" expect(current_application_settings.help_page_hide_commercial_content).to be_truthy expect(current_application_settings.help_page_support_url).to eq "http://example.com/help" + expect(current_application_settings.project_export_enabled).to be_falsey expect(page).to have_content "Application settings saved successfully" end |