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:
authorRobert Speicher <robert@gitlab.com>2017-04-04 04:22:39 +0300
committerRobert Speicher <robert@gitlab.com>2017-04-04 04:22:39 +0300
commitfa65b65b0f5e7095e2ec7c4ca0c269a4fe4baab1 (patch)
tree8ffa5d883b3723fb9529dd7c6806c00daf5621ca /features
parent2fd089a22d3555edc4fcdbd1e9400739dbfe35f1 (diff)
parentbf69e6291d7c7029c18f21a65abc2579e1825cb0 (diff)
Merge branch '29643-stop-using-ffaker-in-factories' into 'master'
Don't use FFaker in factories, use sequences instead Closes #29643 See merge request !10184
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/hooks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/hooks.rb b/features/steps/project/hooks.rb
index 37b608ffbd3..0a71833a8a1 100644
--- a/features/steps/project/hooks.rb
+++ b/features/steps/project/hooks.rb
@@ -23,13 +23,13 @@ class Spinach::Features::ProjectHooks < Spinach::FeatureSteps
end
step 'I submit new hook' do
- @url = FFaker::Internet.uri("http")
+ @url = 'http://example.org/1'
fill_in "hook_url", with: @url
expect { click_button "Add Webhook" }.to change(ProjectHook, :count).by(1)
end
step 'I submit new hook with SSL verification enabled' do
- @url = FFaker::Internet.uri("http")
+ @url = 'http://example.org/2'
fill_in "hook_url", with: @url
check "hook_enable_ssl_verification"
expect { click_button "Add Webhook" }.to change(ProjectHook, :count).by(1)