Skip to content

Commit

Permalink
Merge pull request #14 from jinn999/fix-failing-business-card-spec
Browse files Browse the repository at this point in the history
Fix business card failing spec
  • Loading branch information
askn authored Nov 17, 2020
2 parents 5caaca1 + 56a48c1 commit 112bfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/business_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 112bfd0

Please sign in to comment.