On Thu, Aug 9, 2018 at 3:32 AM, Saurav Kothari <[email protected]> wrote:
> We have a Lockable concern that allows for locks via Redis > When testing this action, I want to test that the correct generated_key is > being sent to Redis to initiate a lock. What is the definition of "correct" here? Wouldn't it be easier to just test the "correctness" of the producer of that key? -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan Consulting Availability : Silicon Valley or remote -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yB5zxqeLOOHXJjt8ARcnGrqG3HRag4r9mPQX9J25T%3D0xQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

