Sha256: 14036d47efc6b2f0d60b8a23ebc4f1491299c72cefb322995dc19f2cfb3c1f9b

Contents?: true

Size: 148 Bytes

Versions: 7

Compression:

Stored size: 148 Bytes

Contents

class MockCookieJar < Hash
  def [](key)
    hash = super
    hash && hash[:value]
  end
  
  def delete(key, options = {})
    super(key)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authlogic-1.4.0 test/libs/mock_cookie_jar.rb
authlogic-1.4.1 test/libs/mock_cookie_jar.rb
authlogic-1.4.2 test/libs/mock_cookie_jar.rb
authlogic-1.4.3 test/libs/mock_cookie_jar.rb
authlogic-2.0.0 test/libs/mock_cookie_jar.rb
authlogic-2.0.1 test/libs/mock_cookie_jar.rb
authlogic-2.0.2 test/libs/mock_cookie_jar.rb