Skip to content

Commit f560e2d

Browse files
committed
Sort the rspec support files for older rubies
1 parent bcc8490 commit f560e2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
# Requires supporting files with custom matchers and macros, etc,
1414
# in ./support/ and its subdirectories.
15-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
15+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].sort.each { |f| require f }
1616

1717
RSpec.configure do |config|
1818
config.run_all_when_everything_filtered = true

0 commit comments

Comments
 (0)