Skip to content

Removing redundant factory trait(s)

What does this MR do and why?

Removing redundant factory traits - :free was overriding :ultimate_trial for this spec, we've updated the spec to use exclusively the :free trait which works better for the StatusWidgetPresenter spec.

Resolves 'Follow-up from "Ultimate + Duo Enterprise trial: Implement new Duo trial widget design"'

Co-authored / based on @dstull suggestion

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Checkout branch
  2. Run spec bin/rspec ee/spec/presenters/gitlab_subscriptions/trials/status_widget_presenter_spec.rb

Related to #500354

Edited by Buck O'Leary

Merge request reports

Loading