Module: Brut::SpecSupport::FlashSupport
- Included in:
- ComponentSupport, HandlerSupport
- Defined in:
- lib/brut/spec_support/flash_support.rb
Overview
Convienience methods for using a Flash inside tests.
Instance Method Summary collapse
-
#empty_flash ⇒ Object
Create a normal empty flash, using the app's configured class.
-
#flash_from(hash) ⇒ Object
Create a flash using the app's configured class that contains the given hash as its values.