You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> FFaker::Random.seed=13# Thirteen?!? Spooky unlucky coincidence!
> FFaker::Random.reset!
> str=FFaker::HTMLIpsum.fancy_string# => "Placeat voluptatem alias iusto doloribus voluptatibus adipisci excepturi soluta. Nulla minima ex recusandae quisquam eius. Odit similique maxime sed quis vero aliquam quidem. Sunt ad ut officia nesciunt vitae earum sit deleniti. Esse tenetur perferendis fugit quasi. Reiciendis excepturi inventore ducimus harum numquam. Incidunt aperiam sint occaecati sunt aut. Neque accusantium deleniti provident voluptatibus doloribus. Eligendi doloribus pariatur itaque aspernatur similique. Aliquam enim cupiditate perspiciatis eius officia tempora cumque blanditiis. Error vel non harum sed." str.include?('<')# => false
All other methods won't have this issue regardless of the random seed used because they explicitly put in at least one HTML tag set via a content_tag_for call.
The text was updated successfully, but these errors were encountered:
I have a case where, given the right random seed,
FFaker::HTMLIpsum.fancy_string
will return a string with no HTML.Reproduction with v2.18.0 (ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin18]) (MacOS 10.15.7):
All other methods won't have this issue regardless of the random seed used because they explicitly put in at least one HTML tag set via a
content_tag_for
call.The text was updated successfully, but these errors were encountered: