templates/rails_helper.rb in bankai-0.2.0 vs templates/rails_helper.rb in bankai-0.2.1
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
require 'spec_helper'
ENV['RAILS_ENV'] ||= 'test'
-require File.expand_path('..', '..', 'config', 'environment', __FILE__)
+require File.expand_path('../config/environment', __dir__)
abort('The Rails is running in production mode!') if Rails.env.production?
require 'rspec/rails'
require 'shoulda'