-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Ffaker bump #6324
Conversation
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 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary spacing detected.
Hey -- do you want me to tackle the style issues in this diff? |
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, |
There was a problem hiding this comment.
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.
@JDutil I fixed the hound issues, although they wre pretty unrelated to my change. Cheers |
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.