Updating Gem Spec and adding test view template with Javascript code to demostrate how to make the request for subscribing to push notifications