diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-08 00:09:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-08 00:09:46 +0300 |
commit | 6867eff1f997a881cd3ea64109f7ba2d4b42fde4 (patch) | |
tree | a0d4b0ced920ff41311e578b406ed9a7136e8f42 /spec/requests/api | |
parent | 3290d46655f07d7ae3dca788d6df9f326972ffd8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/api')
-rw-r--r-- | spec/requests/api/api_spec.rb | 8 |
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 |