Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G gitlab-ce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • gitlab-ce
  • Repository

Switch branch/tag
  • gitlab-ce
  • ee
  • spec
  • helpers
  • trial_status_widget_helper_spec.rb
Find file BlameHistoryPermalink
  • Dallas Reedy's avatar
    Fetch Ultimate plan ID from CustomersDot for trial prompts · eb431e71
    Dallas Reedy authored Sep 08, 2021
    - `TrialStatusWidgetHelper#ultimate_plan_id`
    - `PaidFeatureCalloutHelper#premium_plan_id`
    - Use the `GitlabSubscription::FetchSubscriptionPlansService` for each
      of those cases
    
    Note: The `PaidFeatureCalloutHelper` is part of an experiment which is
    currently unreachable
    (https://gitlab.com/gitlab-org/gitlab/-/issues/273627#note_674150108)
    but is yet to be cleaned up. It is likely that the code for it will be
    entirely removed. If not, there is already an issue in place to extract
    the commonalities between these two helpers
    (https://gitlab.com/gitlab-org/gitlab/-/issues/340441), including
    reusing the `FetchSubscriptionPlansService` data:
    https://gitlab.com/gitlab-org/gitlab/-/blob/8938a54040c52454f58562626bf38584462f75c0/ee/app/helpers/trial_upgrade_prompts_helper.rb#L35
    eb431e71

Replace trial_status_widget_helper_spec.rb

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7