Simulation error in Rspec of notification in Jenkins