Skip to content
Snippets Groups Projects

Move mock data from `spec` to `app` directory

Merged Peter Hegman requested to merge move-mock-data-out-of-specs into master

What does this MR do and why?

The grouptenant scale team is starting to build out an Organization MVC. For more information about what an "Organization" will be see https://docs.gitlab.com/ee/user/organization/

This MR is a follow-up to !128050 (comment 1505541441)

To get a head start on the Organization frontend we are using mock data until the APIs are complete. Originally I had the mock data in the spec directory but it is not ideal to import spec data into application code. This MR moves the mock data to the app directory.

The mock data will be removed in #420777 (closed) and #421441 (closed)

Screenshots or screen recordings

Developer facing, no visual changes

How to set up and validate locally

  1. Open Rails console
    • bin/rails console
  2. Enable the feature flag
    • Feature.enable(:ui_for_organizations)
  3. Navigate to /-/organizations/default/groups_and_projects

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 Peter Hegman

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading