Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-08 00:09:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-08 00:09:46 +0300
commit6867eff1f997a881cd3ea64109f7ba2d4b42fde4 (patch)
treea0d4b0ced920ff41311e578b406ed9a7136e8f42 /spec/requests
parent3290d46655f07d7ae3dca788d6df9f326972ffd8 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/api_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/requests/api/api_spec.rb b/spec/requests/api/api_spec.rb
index c794db4cb0b..baebbbce631 100644
--- a/spec/requests/api/api_spec.rb
+++ b/spec/requests/api/api_spec.rb
@@ -13,13 +13,5 @@ describe API::API do
it 'updates the users last_activity_on date' do
expect { get api('/groups', user) }.to change { user.reload.last_activity_on }.to(Date.today)
end
-
- context 'when the the api_activity_logging feature is disabled' do
- it 'does not touch last_activity_on' do
- stub_feature_flags(api_activity_logging: false)
-
- expect { get api('/groups', user) }.not_to change { user.reload.last_activity_on }
- end
- end
end
end