Format GraphQL block in test
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
e4467ec4ad
commit
91f2b2bd6d
@ -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