class ActionCable::Connection::TestCookieJar

Parent:
ActionCable::Connection::TestCookies

We don’t want to use the whole “encryption stack” for connection unit-tests, but we want to make sure that users test against the correct types of cookies (i.e. signed or encrypted or plain)

Public Instance Methods

encrypted() Show source
# File actioncable/lib/action_cable/connection/test_case.rb, line 48
def encrypted
  @encrypted ||= TestCookies.new
end
signed() Show source
# File actioncable/lib/action_cable/connection/test_case.rb, line 44
def signed
  @signed ||= TestCookies.new
end

© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.