class Shoulda::Matchers::ActionController::SetSessionMatcher
@private
Attributes
Public Class Methods
Source
# File lib/shoulda/matchers/action_controller/set_session_matcher.rb, line 137 def initialize store = SessionStore.new @underlying_matcher = SetSessionOrFlashMatcher.new(store) end
Public Instance Methods
Source
# File lib/shoulda/matchers/action_controller/set_session_matcher.rb, line 147 def [](key) underlying_matcher[key] self end
Source
# File lib/shoulda/matchers/action_controller/set_session_matcher.rb, line 142 def in_context(context) underlying_matcher.in_context(context) self end
Source
# File lib/shoulda/matchers/action_controller/set_session_matcher.rb, line 152 def to(expected_value = nil, &block) underlying_matcher.to(expected_value, &block) self end