Skip to content

Add pluralized file patterns for factory_girl #489

New issue

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

Merged
merged 1 commit into from
Jul 25, 2017
Merged

Conversation

yuemori
Copy link
Contributor

@yuemori yuemori commented Jul 22, 2017

In our usecase, factory_girl files be exist to nested directory of pluralize pattern.

Example:

# table_name: admin_users
app/models/admin/user.rb -> spec/factories/admin/users.rb

We would be happy if file patterns include to this.
(Or file pattern to be able to set by configuration)

Thanks.

@ctran ctran added this to the v2.7.3 milestone Jul 22, 2017
@ctran ctran added the feature label Jul 22, 2017
@ctran ctran merged commit 240c6b2 into ctran:develop Jul 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants