summaryrefslogtreecommitdiff
path: root/test/factories.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/factories.rb')
-rw-r--r--test/factories.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/factories.rb b/test/factories.rb
new file mode 100644
index 0000000..6c671f8
--- /dev/null
+++ b/test/factories.rb
@@ -0,0 +1,3 @@
+Dir.glob(Rails.root.join('**','test','factories.rb')) do |factory_file|
+ require factory_file
+end