refactor SettingPath spec