diff --git a/spec/graphql/upgrader/member_spec.rb b/spec/graphql/upgrader/member_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/graphql/upgrader/member_spec.rb
+++ b/spec/graphql/upgrader/member_spec.rb
@@ -265,4 +265,18 @@ describe GraphQL::Upgrader::Member do
       assert_equal upgrade(old), new
     end
   end
+
+  describe 'multi-line connection with property/method' do
+    it 'upgrades without breaking syntax' do
+      old = %{
+        connection :example_connection, -> { ExampleConnectionType },
+          property: :example_connections
+      }
+      new = %{
+        field :example_connection, -> { ExampleConnectionType }, null: false, connection: true
+          method: :example_connections
+      }
+      assert_equal upgrade(old), new
+    end
+  end
 end
add spec for multi-line connection with property/method