summaryrefslogtreecommitdiff
path: root/spec/finders/users_with_pending_todos_finder_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/finders/users_with_pending_todos_finder_spec.rb')
-rw-r--r--spec/finders/users_with_pending_todos_finder_spec.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/finders/users_with_pending_todos_finder_spec.rb b/spec/finders/users_with_pending_todos_finder_spec.rb
deleted file mode 100644
index 565b65fbefe..00000000000
--- a/spec/finders/users_with_pending_todos_finder_spec.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-RSpec.describe UsersWithPendingTodosFinder do
- describe '#execute' do
- it 'returns the users for all pending todos of a target' do
- issue = create(:issue)
- note = create(:note)
- todo = create(:todo, :pending, target: issue)
-
- create(:todo, :pending, target: note)
-
- users = described_class.new(issue).execute
-
- expect(users).to eq([todo.user])
- end
- end
-end