Skip to content

Commit 5ed57c8

Browse files
committed
Update test fixtures to use string descriptions where tested
1 parent d3c9af2 commit 5ed57c8

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

test/graphql-docs/fixtures/gh-schema.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3759,7 +3759,7 @@ type ProjectEdge {
37593759

37603760
# Ways in which lists of projects can be ordered upon return.
37613761
input ProjectOrder {
3762-
# The direction in which to order projects by the specified field.
3762+
"The direction in which to order projects by the specified field."
37633763
direction: OrderDirection!
37643764

37653765
# The field in which to order projects by.

test/graphql-docs/fixtures/named-root-schema.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ schema {
22
query: RootQuery
33
}
44
type RootQuery {
5-
#Do a thing
5+
"Do a thing"
66
thing: [String!]!
77
}

test/graphql-docs/fixtures/tiny-schema.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ scalar URI
2020
type Query {
2121
# Look up a code of conduct by its key
2222
codeOfConduct(
23-
# The code of conduct's key
23+
"The code of conduct's key"
2424
key: String!
2525
): CodeOfConduct
2626
}

test/graphql-docs/generator_test.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def test_that_it_sets_classes
137137
end
138138

139139
def test_that_named_query_root_generates_fields
140-
skip("graphql 2.2.0+ causes this to fail")
141140
options = deep_copy(GraphQLDocs::Configuration::GRAPHQLDOCS_DEFAULTS)
142141
options[:output_dir] = @output_dir
143142

@@ -197,7 +196,6 @@ def test_that_markdown_preserves_whitespace
197196
end
198197

199198
def test_that_empty_html_lines_not_interpreted_by_markdown
200-
skip("graphql 2.2.0+ causes this to fail")
201199
options = deep_copy(GraphQLDocs::Configuration::GRAPHQLDOCS_DEFAULTS)
202200
options[:output_dir] = @output_dir
203201

@@ -210,7 +208,6 @@ def test_that_empty_html_lines_not_interpreted_by_markdown
210208
end
211209

212210
def test_that_non_empty_html_lines_not_interpreted_by_markdown
213-
skip("graphql 2.2.0+ causes this to fail")
214211
options = deep_copy(GraphQLDocs::Configuration::GRAPHQLDOCS_DEFAULTS)
215212
options[:output_dir] = @output_dir
216213

0 commit comments

Comments
 (0)