RepoState: method rename (restore_state -> restore)
finish_dialog_test.rb: reset instead of mocking