Sha256: 655c3515eb18ec8fc1585f4e077d84bf63328c592afd4e07868935ac28a6f53d
Contents?: true
Size: 246 Bytes
Versions: 3
Compression:
Stored size: 246 Bytes
Contents
# frozen_string_literal: true class CookiesMock def initialize @cookies = {} end def []=(key, value) @cookies[key] = value[:value] end def [](key) @cookies[key] end def delete(key) @cookies.delete(key) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
split-4.0.4 | spec/support/cookies_mock.rb |
split-4.0.3 | spec/support/cookies_mock.rb |
split-4.0.2 | spec/support/cookies_mock.rb |