spec/spec_helper.rb in dispatch-rider-2.1.0 vs spec/spec_helper.rb in dispatch-rider-2.2.0
- old
+ new
@@ -32,10 +32,10 @@
Bundler.setup
Bundler.require(:default, :development)
require 'dispatch-rider'
-Dir['./spec/support/**/*.rb'].each { |fn| require(fn) }
+Dir['./spec/support/**/*.rb'].sort.each { |fn| require(fn) }
FactoryBot.definition_file_paths = %w{spec/factories/}
FactoryBot.find_definitions
RSpec.configure do |config|