roidrage / redis-session-store

A simple session store for Rails based on Redis.
http://github.com/roidrage/redis-session-store
MIT License
366 stars 147 forks source link

Enable branch coverage and add more tests to get 100% coverage #139

Open Vasfed opened 1 year ago

Vasfed commented 1 year ago

Simplecov supports branch coverage on ruby 2.5+ which is already a requirement by actionpack 6.

This PR raises coverage to 100% by lines and 94% by branches (2 branches intentionally not covered - activesupport for with_indifferent_access is also always present because of actionpack 6, will make separate pr for that)