Permalink
Browse files

use bundler setup

  • Loading branch information...
mathieujobin committed Aug 19, 2017
1 parent 833e8e6 commit 578ee065d0de967d037b83eb6198a2fa035b4cc3
Showing with 4 additions and 3 deletions.
  1. +4 −3 features/support/env.rb
@@ -1,13 +1,14 @@
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
# It is recommended to regenerate this file in the future when you upgrade to a
# newer version of cucumber-rails. Consider adding your own code to a new file
# It is recommended to regenerate this file in the future when you upgrade to a
# newer version of cucumber-rails. Consider adding your own code to a new file
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
# files.

ENV["RAILS_ENV"] ||= "test"
ENV["RAILS_ROOT"] ||= File.expand_path(File.dirname(__FILE__) + '/../../cucumber_test_app')

require 'rails/all'
Bundler.setup

require 'capybara'
require 'cucumber/rails'
Capybara.default_selector = :css

0 comments on commit 578ee06

Please sign in to comment.