1
0
mirror of https://github.com/askn/faker.git synced 2023-08-10 21:13:01 +03:00

Merge pull request #14 from jinn999/fix-failing-business-card-spec

Fix business card failing spec
This commit is contained in:
Aşkın Gedik 2020-11-17 22:20:28 +03:00 committed by GitHub
commit 112bfd0ba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ describe Faker::Business do
it "should return deterministic results when seeded" do it "should return deterministic results when seeded" do
Faker.seed 123456 Faker.seed 123456
Faker::Business.credit_card_number.should eq "1228-1221-1221-1431" Faker::Business.credit_card_number.should eq "1228-1221-1221-1431"
Faker::Business.credit_card_expiry_date.should eq Time.new(2013, 9, 12) Faker::Business.credit_card_expiry_date.should eq Time.local(2013, 9, 12)
Faker::Business.credit_card_type.should eq "mastercard" Faker::Business.credit_card_type.should eq "mastercard"
end end
end end