learn-co-curriculum / simple-partials-lab

Other
0 stars 495 forks source link

ArgumentError: wrong number of arguments (given 2, expected 0; required keywords: from, to) #11

Closed bethurban closed 5 years ago

bethurban commented 5 years ago

The Faker gem used in the tests now requires from and to to be used with .between.

For example: Faker::Date.between(25.years.ago, 18.years.ago) should be Faker::Date.between(from: 25.years.ago, to: 18.years.ago)

https://github.com/faker-ruby/faker/blob/master/doc/default/date.md

drakeltheryuujin commented 5 years ago

Thank you for spotting this issue and providing feedback.

We have updated the materials and believe your issue to have been resolved.

We apologize for any frustration you might have encountered during this process but thank you for helping us ensure that those who follow in your path will not encounter the same problems that you faced.

If you do not believe that this issue has been addressed, please re-open this issue. 💙