-
Notifications
You must be signed in to change notification settings - Fork 124
Forgery(:email)
sheerun edited this page Aug 1, 2012
·
2 revisions
Generates an e-mail address based on Forget::Internet.email_address.
Forgery(:email).address
# => "[email protected]"
Creates a subject based on Forgery::LoremIpsum.title.
Forgery(:email).subject
# => "Lorem Ipsum Dolor Sit Amet, Consectetuer Adipiscing Elit"
Generates a text with some paragraphs based on Forgery::LoremIpsum.paragraphs.
Forgery(:email).body
# => "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.\n\nVestibulum quam sapien, varius ut, blandit non, interdum in, ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio. Curabitur convallis.\n\nDuis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus.\n\nMauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero.\n\nNullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.\n\nIn quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet."