Thong Kuah
f0391c2517
Add frozen_string_literal to spec/support
...
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-25 17:33:34 +12:00
Kamil Trzciński
3f543cd2c9
Fix N+1 problem in `JobsController#index`
...
This adds missing preloads, and introduces
additional n+1 matcher to look for
duplicates.
2019-06-19 12:23:05 +02:00
Stan Hu
3a90ecd2c2
Clean QueryRecorder backtrace
...
This makes it much easier to debug N+1 queries via QueryRecorder by
eliminating unnecessary lines.
2019-06-14 16:13:07 -07:00
Jasper Maes
624a1cdab4
Upgrade Rails to 5.1.6.1
...
Model.new.attributes now also returns encrypted attributes.
2019-04-23 08:31:23 +08:00
Stan Hu
cbc20d2b7f
Remove N+1 query for author in issues API
...
This was being masked by the statement cache because only one author was used
per issue in the test..
Also adds support for an Rspec matcher `exceed_all_query_limit`.
2018-06-04 16:39:33 -07:00
Rémy Coutable
023d4f6f2f
Move spec helpers/matchers/shared examples/contexts to their relevant folder
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00