Removed setnotification and setnotification ex code from spec and added in index.erb