1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
Commit graph

4 commits

Author SHA1 Message Date
Shubhendra Singh Chauhan
293a815fbe
fix: issues affecting code quality (#1420)
* use `delegate` for delegation
* Time should be used with zone
2021-04-15 09:44:33 -06:00
Elliot Winkler
a6e2cda862 Remove commented-out code from FlashStore 2015-09-29 22:09:37 -06:00
Mauro George
c6cc26d4fe Fix the set_flash matcher to accept a symbol as a param
This is a regression bug fix, on the previous version the matcher
accepts a string or a symbol as a param.

This commit brings back this behavior.
2015-09-29 22:07:50 -06:00
Elliot Winkler
535fe05be8 Consolidate set_session and set_flash APIs
* Refactor so they both use SetSessionOrFlashMatcher internally
* Remove `set_session['key']` in favor of `set_session('key')`
* `set_flash['key'].to(nil)` no longer works if set_flash has never been
  set
2015-02-09 10:52:51 -07:00