diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-01 18:07:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-01 18:07:45 +0300 |
commit | 1219a9dce91f4edbc135dfc08299b4122b4825a8 (patch) | |
tree | e7d12a55d75a2d56e60d9527bef3724e3578866d /spec/services/todos | |
parent | 1a0d6dbdc2ac3047f4953a359ef27ba6e26074ae (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/todos')
-rw-r--r-- | spec/services/todos/destroy/entity_leave_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/todos/destroy/entity_leave_service_spec.rb b/spec/services/todos/destroy/entity_leave_service_spec.rb index ce809bbf6c5..45e3bf381fb 100644 --- a/spec/services/todos/destroy/entity_leave_service_spec.rb +++ b/spec/services/todos/destroy/entity_leave_service_spec.rb @@ -298,7 +298,7 @@ describe Todos::Destroy::EntityLeaveService do context 'when entity was not found' do it 'does not remove any todos' do - expect { described_class.new(user.id, 999999, 'Group').execute } + expect { described_class.new(user.id, non_existing_record_id, 'Group').execute } .not_to change { Todo.count } end end |