class ActionCable::Connection::TestCookieJar
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()
click to toggle source
# File lib/action_cable/connection/test_case.rb, line 37 def encrypted self[:encrypted] ||= {}.with_indifferent_access end
signed()
click to toggle source
# File lib/action_cable/connection/test_case.rb, line 33 def signed self[:signed] ||= {}.with_indifferent_access end