Sha256: 2bc4af29a5e4e5bdb6194b31192de26f91a648ef4bf7f9c6ae9be52945ee831d

Contents?: true

Size: 218 Bytes

Versions: 20

Compression:

Stored size: 218 Bytes

Contents

Warden::Strategies.add(:failz) do
  
  def authenticate!
    request.env['warden.spec.strategies'] ||= []
    request.env['warden.spec.strategies'] << :failz
    fail!("The Fails Strategy Has Failed You")
  end
  
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
hassox-warden-0.3.0 spec/warden/strategies/failz.rb
hassox-warden-0.3.1 spec/warden/strategies/failz.rb
hassox-warden-0.3.2 spec/warden/strategies/failz.rb
warden-0.9.0 spec/helpers/strategies/failz.rb
warden-0.8.1 spec/helpers/strategies/failz.rb
warden-0.8.0 spec/helpers/strategies/failz.rb
warden-0.7.0 spec/helpers/strategies/failz.rb
warden-0.6.5 spec/helpers/strategies/failz.rb
warden-0.5.3 spec/warden/strategies/failz.rb
warden-0.6.4 spec/helpers/strategies/failz.rb
warden-0.6.3 spec/helpers/strategies/failz.rb
warden-0.6.2 spec/helpers/strategies/failz.rb
warden-0.6.1 spec/helpers/strategies/failz.rb
warden-0.6.0 spec/helpers/strategies/failz.rb
warden-0.5.2 spec/warden/strategies/failz.rb
warden-0.5.1 spec/warden/strategies/failz.rb
warden-0.5.0 spec/warden/strategies/failz.rb
warden-0.4.0 spec/warden/strategies/failz.rb
warden-0.3.2 spec/warden/strategies/failz.rb
warden-0.3.1 spec/warden/strategies/failz.rb