Skip to content

Annotate fixtures for nested models #255

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
Jun 12, 2015
Merged

Annotate fixtures for nested models #255

merged 1 commit into from
Jun 12, 2015

Conversation

plicjo
Copy link
Contributor

@plicjo plicjo commented Jun 10, 2015

This is a fix for #228

The gem was trying to annotate a fixture living at filepath 'test/fixtures/parent_children.yml'.

Rails generates nested models as such: 'test/fixtures/parent/children.yml'

The fix correctly targets fixtures created for nested models. I've added unit tests for the bug and for some existing functionality.

@plicjo plicjo mentioned this pull request Jun 10, 2015
ctran added a commit that referenced this pull request Jun 12, 2015
Annotate fixtures for nested models
@ctran ctran merged commit 02ed4da into ctran:develop Jun 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants