1
0
Fork 0

Fix tests

This commit is contained in:
Alex Kotov 2018-11-28 18:45:55 +05:00
parent 3e3db7cdb2
commit 86250c8125
No known key found for this signature in database
GPG key ID: 4E831250F47DE154

View file

@ -29,7 +29,10 @@ require 'rspec/rails'
# directory. Alternatively, in the individual `*_spec.rb` files, manually # directory. Alternatively, in the individual `*_spec.rb` files, manually
# require only the support files necessary. # 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. # Checks for pending migrations and applies them before tests are run.
# If you are not using ActiveRecord, you can remove these lines. # If you are not using ActiveRecord, you can remove these lines.