We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It'd be nice to be able to specify a glob of files to load factories from.
Barn.load "test/factories/*.rb"
The files loaded would be instance eval'ed so they can directly define factories without the Barn prefix:
# test/factories/users.rb define :user do ... end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It'd be nice to be able to specify a glob of files to load factories from.
The files loaded would be instance eval'ed so they can directly define factories without the Barn prefix:
The text was updated successfully, but these errors were encountered: