Skip to content

Switches default_branch_name_setting_spec back to using fabricate_via_api

Richard Chong requested to merge g422124-switch-back-to-fabricate into master

What does this MR do and why?

The switch to the FactoryBot DSL seem to have caused one of the tests in default_branch_name_setting_spec to fail as it's not setting the default_branch correctly. This change reverts it back to using the API for now as the issue is investigated.

Related: #422124 (closed)

How to set up and validate locally

Run this against Staging

bundle exec rspec qa/specs/features/api/3_create/repository/default_branch_name_setting_spec.rb

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Richard Chong

Merge request reports