huacnlee / rails-settings-cached

Global settings for your Rails application.
Other
1.06k stars 202 forks source link

Fix bug preventing a value of false from being returned #97

Closed dangerous closed 8 years ago

dangerous commented 8 years ago

If the value was set to false, either the default is returned or if there is no default, then nil would be returned.

I have added a test that would previously fail that now passes.

codecov-io commented 8 years ago

Current coverage is 97.15%

Merging #97 into master will increase coverage by +0.08% as of 0ed1ddc

@@            master     #97   diff @@
======================================
  Files            8       8       
  Stmts          239     246     +7
  Branches         0       0       
  Methods          0       0       
======================================
+ Hit            232     239     +7
  Partial          0       0       
  Missed           7       7       

Review entire Coverage Diff as of 0ed1ddc

Powered by Codecov. Updated on successful CI builds.