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:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-09-05 01:12:47 +0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-09-05 22:37:09 +0300
commit9ccc516adee396bd2263558d1a3d8f0f3acda6e4 (patch)
treea62802fd907ac2b726d11faef776b1fdfd3d6a0d /features/support
parent063e285e6a8c26a95809873fb32fefc54fe9bdb6 (diff)
Enable all gitaly features in spinach tests
Diffstat (limited to 'features/support')
-rw-r--r--features/support/gitaly.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/features/support/gitaly.rb b/features/support/gitaly.rb
new file mode 100644
index 00000000000..3cd5f4ce497
--- /dev/null
+++ b/features/support/gitaly.rb
@@ -0,0 +1,3 @@
+Spinach.hooks.before_scenario do
+ allow(Gitlab::GitalyClient).to receive(:feature_enabled?).and_return(true)
+end