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 3f56a9f commit e332defCopy full SHA for e332def
lib/generators/rspec/install/templates/spec/rails_helper.rb
@@ -20,7 +20,7 @@
20
# directory. Alternatively, in the individual `*_spec.rb` files, manually
21
# require only the support files necessary.
22
#
23
-# Rails.root.glob('spec/support/**/*.rb').sort.each { |f| require f }
+# Rails.root.glob('spec/support/**/*.rb').sort_by(&:to_s).each { |f| require f }
24
25
<% if RSpec::Rails::FeatureCheck.has_active_record_migration? -%>
26
# Checks for pending migrations and applies them before tests are run.
0 commit comments