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