diff options
Diffstat (limited to 'spec/graphql/types/todo_type_spec.rb')
-rw-r--r-- | spec/graphql/types/todo_type_spec.rb | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/spec/graphql/types/todo_type_spec.rb b/spec/graphql/types/todo_type_spec.rb index 2118a777a45..af1981e804c 100644 --- a/spec/graphql/types/todo_type_spec.rb +++ b/spec/graphql/types/todo_type_spec.rb @@ -32,13 +32,15 @@ RSpec.describe GitlabSchema.types['Todo'] do describe 'project field' do let(:todo) do - create(:todo, - user: current_user, - project: project, - state: :done, - action: Todo::ASSIGNED, - author: author, - target: issue) + create( + :todo, + user: current_user, + project: project, + state: :done, + action: Todo::ASSIGNED, + author: author, + target: issue + ) end let(:query) do @@ -86,13 +88,15 @@ RSpec.describe GitlabSchema.types['Todo'] do describe 'group field' do let(:todo) do - create(:todo, - user: current_user, - group: group, - state: :done, - action: Todo::MENTIONED, - author: author, - target: issue) + create( + :todo, + user: current_user, + group: group, + state: :done, + action: Todo::MENTIONED, + author: author, + target: issue + ) end let(:query) do |