Sha256: f5fee1f619da95f270ce51b2e0e82e3c98a62e6e3dffda1ca5dee31942f6d8af

Contents?: true

Size: 216 Bytes

Versions: 20

Compression:

Stored size: 216 Bytes

Contents

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

20 entries across 20 versions & 1 rubygems

Version Path
split-1.3.2 spec/support/cookies_mock.rb
split-1.3.1 spec/support/cookies_mock.rb
split-1.3.0 spec/support/cookies_mock.rb
split-1.2.1 spec/support/cookies_mock.rb
split-1.2.0 spec/support/cookies_mock.rb
split-1.1.0 spec/support/cookies_mock.rb
split-1.0.0 spec/support/cookies_mock.rb
split-0.8.0 spec/support/cookies_mock.rb
split-0.7.3 spec/support/cookies_mock.rb
split-0.7.2 spec/support/cookies_mock.rb
split-0.7.1 spec/support/cookies_mock.rb
split-0.7.0 spec/support/cookies_mock.rb
split-0.6.6 spec/support/cookies_mock.rb
split-0.6.5 spec/support/cookies_mock.rb
split-0.6.4 spec/support/cookies_mock.rb
split-0.6.3 spec/support/cookies_mock.rb
split-0.6.2 spec/support/cookies_mock.rb
split-0.6.1 spec/support/cookies_mock.rb
split-0.6.0 spec/support/cookies_mock.rb
split-0.5.0 spec/support/cookies_mock.rb