Shopify/packwerk

ActiveAdmin's belongs_to_test trips up packwerk [DOCUMENTATION]

Closed this issue · 0 comments

Description
This file will trip up packwerk: https://github.com/activeadmin/activeadmin/blob/master/spec/unit/belongs_to_spec.rb
I suspect this stems from the belongs_to association helper.

If you run into an issue like this, I recommend excluding the file via packwerk.yml.

To Reproduce
Add this file to your repo and packwerk will crash.

Expected Behaviour
I think it is fine for packwerk to not be able to parse a file as unusual as this one.