Skip to content

Fix a broken spec for EE in spec/services/merge_requests/rebase_service_spec.rb

Nick Thomas requested to merge 11621-fix-broken-master into master

What does this MR do?

In EE, Feature.disabled? gets called multiple times in this spec, while it only gets called once in CE. The difference is approval rules.

Using the stub_feature_flags helper avoids this issue.

Closes #11621 (closed)

Edited by Nick Thomas

Merge request reports

Loading