QA: refactor notifications test for RSpec3 syntax

Change-Id: I95d60d82cd5c1fc93de2ccdfeab73a83eaa522c4