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:
authorRémy Coutable <remy@rymai.me>2016-12-07 14:47:30 +0300
committerRémy Coutable <remy@rymai.me>2016-12-07 14:47:30 +0300
commit911c1601f81d8e0050766b533beaaf4e612c5592 (patch)
tree3a5747b7c4ff05ce374e8045298cdd76a2094c64 /features
parent0fc1e9a8e00926ba2c65f38a68ffd4e21c5844ba (diff)
parentd33b22f23890f5d67f1e88a41efc4d8adec6611c (diff)
Merge branch 'move-admin-hooks-spinach-test-to-rspec' into 'master'
Move admin hooks spinach to RSpec https://gitlab.com/gitlab-org/gitlab-ce/issues/23036 See merge request !7942
Diffstat (limited to 'features')
-rw-r--r--features/admin/hooks.feature9
-rw-r--r--features/steps/admin/hooks.rb15
2 files changed, 0 insertions, 24 deletions
diff --git a/features/admin/hooks.feature b/features/admin/hooks.feature
deleted file mode 100644
index 5ca332d9f1c..00000000000
--- a/features/admin/hooks.feature
+++ /dev/null
@@ -1,9 +0,0 @@
-@admin
-Feature: Admin Hooks
- Background:
- Given I sign in as an admin
-
- Scenario: On Admin Hooks
- Given I visit admin hooks page
- Then I submit the form with enabled SSL verification
- And I see new hook with enabled SSL verification \ No newline at end of file
diff --git a/features/steps/admin/hooks.rb b/features/steps/admin/hooks.rb
deleted file mode 100644
index 541e25fcb70..00000000000
--- a/features/steps/admin/hooks.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-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