Extend the QueryRecorder matcher
This extends the ActiveRecord::QueryRecorder
and the exceed_query_limit
matcher to report the extra queries.
I've been using that in: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14055
This extends the ActiveRecord::QueryRecorder
and the exceed_query_limit
matcher to report the extra queries.
I've been using that in: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14055