aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/factory_bot.rb
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-12-20 17:34:26 +0000
committerMatthew Lemon <y@yulqen.org>2023-12-20 17:34:40 +0000
commit09064bb219279162ba3f84b6287247f9a654dc6c (patch)
tree1e314b83f5bf85e46a521cb4970b2d05c7bf5af2 /spec/support/factory_bot.rb
parentd5f5c3d7f2d92c180c56053c994a148afd63118a (diff)
Properly configures factory_bot and adds Faker
Diffstat (limited to '')
-rw-r--r--spec/support/factory_bot.rb5
1 files changed, 5 insertions, 0 deletions
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