class Shoulda::ActionController::Matchers::SetSessionMatcher

def expectation

def expectation
  expectation = "session variable #{@key} to be set"
  expectation << " to #{@value.inspect}" if @value
  expectation
end