1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00
draper/features/support/env.rb

9 lines
276 B
Ruby
Raw Normal View History

# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
require File.expand_path("../../../spec/dummy/config/environment.rb", __FILE__)
ENV["RAILS_ROOT"] = File.expand_path("../../../spec/dummy", __FILE__)
require 'cucumber/rails'
Rails.backtrace_cleaner.remove_silencers!