Fixed notifications_test for Rail 3.1.
Fixed notifications_test for Rail 3.1.

ari/jobsworth,digitalnatives/jobsworth,rafaspinola/jobsworth,webstream-io/jobsworth,digitalnatives/jobsworth,rafaspinola/jobsworth,rafaspinola/jobsworth,webstream-io/jobsworth,xuewenfei/jobsworth,xuewenfei/jobsworth,ari/jobsworth,webstream-io/jobsworth,rafaspinola/jobsworth,ari/jobsworth,xuewenfei/jobsworth,ari/jobsworth,webstream-io/jobsworth,xuewenfei/jobsworth,digitalnatives/jobsworth,digitalnatives/jobsworth,digitalnatives/jobsworth