FastRuby.io · @FastRuby
40 followers · 131 posts · Server ruby.social
masukomi · @masukomi
198 followers · 2593 posts · Server connectified.com

geeks: I have been on a quest to test 's with . I have found precisely zero official documentation that actually works.

HERE IS THE ONLY GUIDE THAT HAS WORKED

gist.github.com/ChuckJHardy/10

when / if you get errors about Minitest::UnexpectedError (even though you're running rspec) then read this SO post

stackoverflow.com/questions/72

#ruby #rails #activejob #rspec

Last updated 2 years ago

masukomi · @masukomi
197 followers · 2581 posts · Server connectified.com

i've wasted over an hour on this take-home test because rspec's documentation AND ?!SOURCE?! do not match the reality i am seeing in ANY WAY.

methods that only accept blocks and throw exceptions if you pass them something else are complaining that they've been passed a block. :lolsob:

Testing 's turns out to be a pain in the arse.

#ruby #activejob

Last updated 2 years ago