Skip to content
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

Correct whitespace generated by factory template. #36

Closed
wants to merge 1 commit into from

Conversation

JDutil
Copy link
Contributor

@JDutil JDutil commented Sep 21, 2011

I've updated the factory template to print the whitespace nicer. Most conventions call for a newline at the end of the file, and one of the end's was indented an extra time.

This will generate a template looking like:

# Read about factories at http://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :address do
    street1 "MyString"
  end
end

rather than:

# Read about factories at http://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :address do
    street1 "MyString"
    end
end

@caironoleto
Copy link

Please, accepts this pull request

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.

None yet

3 participants