summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-21 20:17:15 -0500
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-03 17:08:17 +0200
commit0a1fccb2ed0e0479dbaa4c22726d5c7a440f014c (patch)
tree67687617f475fa9253aa84b6a325bb953e5db852 /features
parentca3c5c295ed653b483fe81c3918ffe60f46666b9 (diff)
downloadgitlab-ce-0a1fccb2ed0e0479dbaa4c22726d5c7a440f014c.tar.gz
Try to use knapsack
Diffstat (limited to 'features')
-rw-r--r--features/support/env.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index 357d164d87f..6ebd012a40f 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -11,6 +11,7 @@ ENV['RAILS_ENV'] = 'test'
require './config/environment'
require 'rspec/expectations'
require 'sidekiq/testing/inline'
+require 'knapsack'
require_relative 'capybara'
require_relative 'db_cleaner'
@@ -20,6 +21,8 @@ require_relative 'rerun'
require Rails.root.join('spec', 'support', f)
end
+Knapsack::Adapters::CucumberAdapter.bind
+
Dir["#{Rails.root}/features/steps/shared/*.rb"].each { |file| require file }
WebMock.allow_net_connect!