spec/spec_helper.rb in sinclair-1.5.0 vs spec/spec_helper.rb in sinclair-1.5.1
- old
+ new
@@ -11,10 +11,11 @@
require 'sinclair'
require 'sinclair/matchers'
require 'pry-nav'
support_files = File.expand_path('spec/support/**/*.rb')
-Dir[support_files].each { |file| require file }
+
+Dir[support_files].sort.each { |file| require file }
RSpec.configure do |config|
config.run_all_when_everything_filtered = true
config.filter_run :focus
config.filter_run_excluding :integration unless ENV['ALL']