1
0
mirror of https://github.com/askn/faker.git synced 2023-08-10 21:13:01 +03:00
faker/spec/name_spec.cr
Ricky Chilcott 6e5e8fad11 Fixing specs
2018-09-21 08:41:48 -04:00

14 lines
417 B
Crystal

require "./spec_helper"
describe Faker::Name do
it "should return deterministic results when seeded" do
Faker.seed 123456
Faker::Name.name.should eq "Danyka Gleichner DDS"
Faker::Name.first_name.should eq "Molly"
Faker::Name.last_name.should eq "Fay"
Faker::Name.prefix.should eq "Dr."
Faker::Name.suffix.should eq "DDS"
Faker::Name.title.should eq "Direct Markets Associate"
end
end