Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-08-11 09:59:40 +0300
committerValery Sizov <vsv2711@gmail.com>2015-08-26 15:48:31 +0300
commitbafffb2d14e1924154d5b7c74c7b3cbcf8c898fd (patch)
tree9e404f30a04e41e2e70456f2959a1780717981ae /features/steps/admin
parentadd099b024cc4155a5be494fdb9ae339fd073a14 (diff)
Enable SSL verification for Webhooks
Diffstat (limited to 'features/steps/admin')
-rw-r--r--features/steps/admin/hooks.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/features/steps/admin/hooks.rb b/features/steps/admin/hooks.rb
new file mode 100644
index 00000000000..541e25fcb70
--- /dev/null
+++ b/features/steps/admin/hooks.rb
@@ -0,0 +1,15 @@
+class Spinach::Features::AdminHooks < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedPaths
+ include SharedAdmin
+
+ step "I submit the form with enabled SSL verification" do
+ fill_in 'hook_url', with: 'http://google.com'
+ check "Enable SSL verification"
+ click_on "Add System Hook"
+ end
+
+ step "I see new hook with enabled SSL verification" do
+ expect(page).to have_content "SSL Verification: enabled"
+ end
+end