From 56a48c18bd5b550e61c461a87206fae42af5e469 Mon Sep 17 00:00:00 2001 From: Davide Paolo Tua Date: Tue, 17 Nov 2020 19:15:28 +0100 Subject: [PATCH] Fix business card failing spec --- spec/business_spec.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/business_spec.cr b/spec/business_spec.cr index 1410fa1..4c45b36 100644 --- a/spec/business_spec.cr +++ b/spec/business_spec.cr @@ -4,7 +4,7 @@ describe Faker::Business do it "should return deterministic results when seeded" do Faker.seed 123456 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" end end