Test Server Side Event in Rails4