Updated rspec test to validate AJAX call on user update.