summaryrefslogtreecommitdiff
path: root/features/support/gitaly.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/support/gitaly.rb')
-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