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.
2 parents d0e322b + a73ef24 commit 32a4b78Copy full SHA for 32a4b78
lib/generators/rspec/install/templates/spec/rails_helper.rb
@@ -25,7 +25,7 @@
25
# directory. Alternatively, in the individual `*_spec.rb` files, manually
26
# require only the support files necessary.
27
#
28
-# 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 }
29
30
<% if RSpec::Rails::FeatureCheck.has_active_record_migration? -%>
31
# Checks for pending migrations and applies them before tests are run.
0 commit comments