Skip to content

Commit 77101cd

Browse files
committed
Autofix new RuboCop offenses
1 parent 2fb9c8f commit 77101cd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/test_client_errors.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def test_errors_collection
310310
"errors" => [
311311
{
312312
"message" => "b00m",
313-
"locations" => [{"line" => 1, "column" => 3}],
313+
"locations" => [{ "line" => 1, "column" => 3 }],
314314
"path" => ["nullableError"]
315315
}
316316
]

test/test_client_schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_dump_schema_io
6161

6262
def test_dump_schema_context
6363
conn = FakeConn.new
64-
GraphQL::Client.dump_schema(conn, StringIO.new, context: { user_id: 1})
64+
GraphQL::Client.dump_schema(conn, StringIO.new, context: { user_id: 1 })
6565
assert_equal({ user_id: 1 }, conn.context)
6666
end
6767
end

test/test_query_result.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def test_snakecase_field_aliases
270270
GRAPHQL
271271

272272
person = Temp::Person.new(@client.query(Temp::Query).data.me)
273-
raw_result = {"firstName"=>"Joshua", "lastName"=>"Peek"}
273+
raw_result = { "firstName" => "Joshua", "lastName" => "Peek" }
274274
assert_equal raw_result, person.to_h
275275
assert_equal raw_result, person.to_hash
276276

0 commit comments

Comments
 (0)