Skip to content

Conversation

jmcnevin
Copy link
Contributor

Per #90, annotate currently looks for Factory Girl files named differently than what current versions of the factory_girl_rails gem actually generate. This is a quick change that modifies that expectation.

@travisbot
Copy link

This pull request passes (merged 841c3e7 into 98d0063).

@@ -252,8 +252,8 @@ def annotate(klass, file, header, options={})
File.join(EXEMPLARS_SPEC_DIR, "#{model_name}_exemplar.rb"), # Object Daddy
File.join(BLUEPRINTS_TEST_DIR, "#{model_name}_blueprint.rb"), # Machinist Blueprints
File.join(BLUEPRINTS_SPEC_DIR, "#{model_name}_blueprint.rb"), # Machinist Blueprints
File.join(FACTORY_GIRL_TEST_DIR, "#{model_name}_factory.rb"), # Factory Girl Factories
File.join(FACTORY_GIRL_SPEC_DIR, "#{model_name}_factory.rb"), # Factory Girl Factories
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to keep these in there, so we don't break older projects. Or is this a hard deprecation?

@travisbot
Copy link

This pull request passes (merged d470621 into 98d0063).

@alexch
Copy link
Collaborator

alexch commented Aug 22, 2012

lgtm

alexch added a commit that referenced this pull request Aug 22, 2012
Adjust expected location of Factory Girl factories.
@alexch alexch merged commit f094da6 into ctran:master Aug 22, 2012
@ctran ctran added the released label Dec 17, 2016
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.

4 participants