From 86250c8125ae2f5760e60aef711a2ac7e1c35867 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Wed, 28 Nov 2018 18:45:55 +0500 Subject: [PATCH] Fix tests --- spec/rails_helper.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index f03d2b1..dae01ab 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -29,7 +29,10 @@ require 'rspec/rails' # directory. Alternatively, in the individual `*_spec.rb` files, manually # require only the support files necessary. # -Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each { |f| require f } +require_relative 'support/shoulda_matchers' +require_relative 'support/faker' +require_relative 'support/factory_bot' +require_relative 'support/database_cleaner' # Checks for pending migrations and applies them before tests are run. # If you are not using ActiveRecord, you can remove these lines.