When I do a Refactor (ex. rename Auto.groovy to Car.groovy) of a Domain class I see the following behavior:
1. The Groovy Class name is updated and all references (in other domain classes) are updated to the new class name. (File is now Car.groovy) This is working correctly.
2. The Controller is not renamed (AutoController.groovy is not changed to CarController.groovy).
3. The unit tests for the domain class are not updated (AutoTest.groovy is not renamed to CarTest.groovy)
I believe that a refactor should update all references (associated controller, views, taglib, etc,) and not just the domain references.