rating/spec/support/factory_bot.rb

10 lines
216 B
Ruby
Raw Normal View History

2017-10-30 01:44:23 +00:00
# frozen_string_literal: true
require 'factory_bot'
Dir[File.expand_path('../factories/**/*.rb', __dir__)].each { |file| require file }
RSpec.configure do |config|
config.include FactoryBot::Syntax::Methods
end