summaryrefslogtreecommitdiff
path: root/spec/requests/api/todos_spec.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-01-17 01:15:35 -0500
committerRémy Coutable <remy@rymai.me>2017-01-17 11:41:27 -0500
commit9c560b5cdfcdc5d732b666a64942745920452e88 (patch)
treed000f44c54e30590f74cff6d62486760b78f3089 /spec/requests/api/todos_spec.rb
parent78d710388fbabe27481c77cc353610904465c4df (diff)
downloadgitlab-ce-9c560b5cdfcdc5d732b666a64942745920452e88.tar.gz
Replace many :project with :empty_projects in API specsuse-empty_project-factory-in-api-specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/requests/api/todos_spec.rb')
-rw-r--r--spec/requests/api/todos_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/todos_spec.rb b/spec/requests/api/todos_spec.rb
index 887a2ba5b84..6fe695626ca 100644
--- a/spec/requests/api/todos_spec.rb
+++ b/spec/requests/api/todos_spec.rb
@@ -3,8 +3,8 @@ require 'spec_helper'
describe API::Todos, api: true do
include ApiHelpers
- let(:project_1) { create(:project) }
- let(:project_2) { create(:project) }
+ let(:project_1) { create(:empty_project) }
+ let(:project_2) { create(:empty_project) }
let(:author_1) { create(:user) }
let(:author_2) { create(:user) }
let(:john_doe) { create(:user, username: 'john_doe') }