On Thu, Aug 9, 2018 at 3:32 AM, Saurav Kothari <sauravkothari2@gmail.com> 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 ------------------------ hassan.schroeder@gmail.com
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
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.
No comments:
Post a Comment