Format GraphQL block in test
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
9c53888c30
commit
ef4be72b7f
@ -52,9 +52,9 @@ defmodule Mobilizon.GraphQL.Resolvers.DiscussionTest do
|
|||||||
describe "create a discussion" do
|
describe "create a discussion" do
|
||||||
@create_discussion_mutation """
|
@create_discussion_mutation """
|
||||||
mutation createDiscussion($title: String!, $actorId: ID!, $text: String!) {
|
mutation createDiscussion($title: String!, $actorId: ID!, $text: String!) {
|
||||||
createDiscussion(title: $title, text: $text, actorId: $actorId) {
|
createDiscussion(title: $title, text: $text, actorId: $actorId) {
|
||||||
...DiscussionFields
|
...DiscussionFields
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#{@discussion_fields_fragment}
|
#{@discussion_fields_fragment}
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user