Closed mjc-gh closed 5 years ago
Hi @mjc-gh, thanks again for this new PR.
About testing it, you can probably do it in an integration test, changing the Sequel logger to output to a StringIO
and adding your expectation on that after calling the code to exercise.
@JonathanTron sounds good! I'll update this PR in the next day or two and get those specs in place. Thanks!
@JonathanTron, This should be merged because it exposes session data to the logs.
/cc @mjc-gh any update?
Thanks @mjc-gh for the PR and @gencer for the push ;)
This PR silences the logger when reading and writing sessions to the database. This mimics behavior found in the ActiveRecord::SessionStore class.
Not sure how to best test this. Any suggestions?