Sha256: a51b8cae7db38129037f7802837fc50829276eaae60a619faca084f165dc4360

Contents?: true

Size: 178 Bytes

Versions: 3

Compression:

Stored size: 178 Bytes

Contents

module Brut::SpecSupport::FlashSupport
  def empty_flash = Brut.container.flash_class.new

  def flash_from(hash)
    Brut.container.flash_class.from_h(messages: hash)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brut-0.0.3 lib/brut/spec_support/flash_support.rb
brut-0.0.2 lib/brut/spec_support/flash_support.rb
brut-0.0.1 lib/brut/spec_support/flash_support.rb