We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bee7df commit e6ecf55Copy full SHA for e6ecf55
lib/generators/rspec/install/templates/spec/rails_helper.rb
@@ -1,9 +1,9 @@
1
# This file is copied to spec/ when you run 'rails generate rspec:install'
2
+require 'spec_helper'
3
ENV['RAILS_ENV'] ||= 'test'
4
require File.expand_path('../../config/environment', __FILE__)
5
# Prevent database truncation if the environment is production
6
abort("The Rails environment is running in production mode!") if Rails.env.production?
-require 'spec_helper'
7
require 'rspec/rails'
8
# Add additional requires below this line. Rails is not loaded until this point!
9
0 commit comments