diff --git a/spec/features/types/activate_in_project_spec.rb b/spec/features/types/activate_in_project_spec.rb index a236e89a9f32..4f0f1e67042b 100644 --- a/spec/features/types/activate_in_project_spec.rb +++ b/spec/features/types/activate_in_project_spec.rb @@ -64,6 +64,8 @@ project_settings_page.save! + project_settings_page.expect_and_dismiss_flash(message: "Successful update.") + expect(page) .to have_checked_field(type.name) expect(page)