Foss: uninitialized constant API::Analytics in rspec frontend_fixtures
Job #951830438 failed for gitlab-foss@6e734c80:
FOSS_ONLY=1 bundle exec rspec spec/frontend/fixtures/project_analytics.rb
An error occurred while loading ./spec/frontend/fixtures/project_analytics.rb.
Failure/Error:
describe API::Analytics::ProjectDeploymentFrequency, type: :request do
before(:all) do
clean_frontend_fixtures('api/project_analytics/')
end
let(:shared_params) { { environment: environment.name, interval: 'daily' } }
def make_request(additional_query_params:)
params = shared_params.merge(additional_query_params)
get api("/projects/#{project.id}/analytics/deployment_frequency?#{params.to_query}", reporter)
NameError:
uninitialized constant API::Analytics
# ./spec/frontend/fixtures/project_analytics.rb:42:in `block in <top (required)>'
# ./spec/frontend/fixtures/project_analytics.rb:5:in `<top (required)>'