now working as per railscast by calling the jquery decorator from within the spec itself