summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-09-04 19:12:47 -0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-09-05 16:37:09 -0300
commit9ccc516adee396bd2263558d1a3d8f0f3acda6e4 (patch)
treea62802fd907ac2b726d11faef776b1fdfd3d6a0d /features
parent063e285e6a8c26a95809873fb32fefc54fe9bdb6 (diff)
downloadgitlab-ce-9ccc516adee396bd2263558d1a3d8f0f3acda6e4.tar.gz
Enable all gitaly features in spinach testsgitaly-spinach
Diffstat (limited to 'features')
-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