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:
authorAhmad Sherif <me@ahmadsherif.com>2016-08-17 22:54:31 +0300
committerAhmad Sherif <me@ahmadsherif.com>2016-08-18 18:46:24 +0300
commit4ad028aed4f792e9a57cc41539312de7ef99d537 (patch)
treea343ddaa44cbe65597d7e41b7cec117a12cf22dd /spec/services/todo_service_spec.rb
parent548da42be51821951180eacf462d942c11c0c01b (diff)
Rename TodoService#mark_todos_as_done_by_id{,s}
Diffstat (limited to 'spec/services/todo_service_spec.rb')
-rw-r--r--spec/services/todo_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/todo_service_spec.rb b/spec/services/todo_service_spec.rb
index 9db05cce732..a2a1d5e6d30 100644
--- a/spec/services/todo_service_spec.rb
+++ b/spec/services/todo_service_spec.rb
@@ -225,8 +225,8 @@ describe TodoService, services: true do
end
end
- describe '#mark_todos_as_done_by_id' do
- it_behaves_like 'marking todos as done', :mark_todos_as_done_by_id do
+ describe '#mark_todos_as_done_by_ids' do
+ it_behaves_like 'marking todos as done', :mark_todos_as_done_by_ids do
let(:collection) { [first_todo, second_todo].map(&:id) }
end
end