From 09064bb219279162ba3f84b6287247f9a654dc6c Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 20 Dec 2023 17:34:26 +0000 Subject: Properly configures factory_bot and adds Faker --- spec/support/factory_bot.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 spec/support/factory_bot.rb (limited to 'spec/support/factory_bot.rb') diff --git a/spec/support/factory_bot.rb b/spec/support/factory_bot.rb new file mode 100644 index 0000000..0ca1986 --- /dev/null +++ b/spec/support/factory_bot.rb @@ -0,0 +1,5 @@ +require 'factory_bot' + +RSpec.configure do |config| + config.include FactoryBot::Syntax::Methods +end -- cgit v1.2.3