Skip to content

Test RecordUserLastActivity for Projects::Integrations::Jira::IssuesController

What does this MR do?

From the issue:

question: Should we add some specs around RecordUserLastActivity? I saw we have a stub_last_activity_update helper in spec/support/helpers/api_helpers.rb, maybe we can add a expect_last_activity_update helper, or some shared examples?

In this case all we need to do is add the route to the spec/requests/user_activity_spec.rb for testing

Screenshots

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

Related to #225348 (closed)

Edited by Brett Walker

Merge request reports