class Shoulda::Matchers::ActionController::SetSessionMatcher

def expectation

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