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

Ffaker bump #6324

Closed
wants to merge 3 commits into from
Closed

Ffaker bump #6324

wants to merge 3 commits into from

Conversation

jormon
Copy link
Contributor

@jormon jormon commented Apr 23, 2015

FFaker at versio 2.0 namespaces itself to FFaker, instead of overriding the Faker namespace used by the similar/related faker gem. (ffaker/ffaker#179)

This allows other rails apps using Spree to also use faker without getting namespace collisions.

@TeatroIO
Copy link

I've prepared a stage to preview changes. Open stage or view logs.

sequence(:random_string) { Faker::Lorem.sentence }
sequence(:random_description) { Faker::Lorem.paragraphs(1 + Kernel.rand(5)).join("\n") }
sequence(:random_email) { Faker::Internet.email }
sequence(:random_string) { FFaker::Lorem.sentence }

Choose a reason for hiding this comment

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

Unnecessary spacing detected.

@jormon
Copy link
Contributor Author

jormon commented Apr 23, 2015

Hey -- do you want me to tackle the style issues in this diff?

@JDutil
Copy link
Member

JDutil commented Apr 24, 2015

Yea that would be great.

@@ -5,7 +5,7 @@
shipping_category = Spree::ShippingCategory.find_by_name!("Default")

default_attrs = {
:description => Faker::Lorem.paragraph,
:description => FFaker::Lorem.paragraph,

Choose a reason for hiding this comment

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

Use the new Ruby 1.9 hash syntax.

@jormon
Copy link
Contributor Author

jormon commented Apr 30, 2015

@JDutil I fixed the hound issues, although they wre pretty unrelated to my change. Cheers

@JDutil JDutil closed this in 2b44cf4 May 1, 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.

4 participants