thoughtbot--shoulda-matchers/lib
Derek Prior + Elliot Winkler 9a333d12b4 Fix set_the_flash_matcher for Rails 4
The "flashes" instance variable that lives within FlashHash has changed
in Rails 4. I have added a shim to get the proper name.

Additionally, the set_the_flash matcher will dup the flash hash for the
controller on which it operates. As #dup does a shallow copy we need to
make sure to also copy the instance variables within the flash hash when
we do this. The Rails 4 version of FlashHash has an extra @discard
variable unlike the Rails 3 version so we make sure to copy that.
2013-08-16 16:00:10 -06:00
..
shoulda Fix set_the_flash_matcher for Rails 4 2013-08-16 16:00:10 -06:00
shoulda-matchers.rb Switched to allowing a more canonical require statement 2011-01-31 16:45:13 -05:00