Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Merge pull request #183 from Marchino/master
Browse files Browse the repository at this point in the history
expose factories so they can be used by plugins, for example
  • Loading branch information
a-barbieri authored Mar 30, 2018
2 parents 56ec753 + 7dc2d99 commit ea285c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/binda/factories.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
GEM_ROOT = File.dirname(File.dirname(File.dirname(__FILE__)))
Dir[File.join(GEM_ROOT, 'spec', 'factories', '*.rb')].each { |file| require(file) }

0 comments on commit ea285c0

Please sign in to comment.