spec/rails_helper.rb in journaled-4.1.0 vs spec/rails_helper.rb in journaled-4.2.0
- old
+ new
@@ -5,10 +5,10 @@
require 'rspec/rails'
require 'timecop'
require 'webmock/rspec'
require 'journaled/rspec'
-Dir[Rails.root.join('..', 'support', '**', '*.rb')].each { |f| require f }
+Dir[Rails.root.join('../support/**/*.rb')].sort.each { |f| require f }
RSpec.configure do |config|
config.use_transactional_fixtures = true
config.infer_spec_type_from_file_location!