Skip to content

Updated title value in plan factory

Etienne Baqué requested to merge ebaque-update-plan-factory into master

What does this MR do?

The introduction of the Premium and Ultimate plans record does not quite reflect the way the Plan factory currently works:

# spec/factories/plans.rb

Plan.all_plans.each do |plan|
      factory :"#{plan}_plan" do
        name { plan }
        title { name.titleize }

as the title for the Ultimate and Premium plans is Ultimate (Formerly Gold) and Premium (Formerly Silver) respectively.

This Plan factory needs to be updated.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Etienne Baqué

Merge request reports