Stan Hu
|
a8cbec49a0
|
Cache current working directory to speed up Rubocop
This saves thousands of getcwd() system calls and improves the
performance of running Rubocop, which is also used by HAML linting.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61383
|
2019-05-03 05:44:46 -07:00 |
|
Bob Van Landuyt
|
7c801333a0
|
Prevent factories in background migration specs
The Background migration specs also run against a certain version of
the database. So we should avoid using factories.
|
2019-01-16 13:15:33 +01:00 |
|
Rémy Coutable
|
d2aee809ed
|
Introduce spec/fast_spec_helper.rb to run spec files that don't rely on the whole Rails env
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
2018-04-23 12:20:30 +02:00 |
|
Rémy Coutable
|
4b035896c4
|
Introduce a new FactoriesInMigrationSpecs cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
2018-04-06 17:41:52 +02:00 |
|
Rémy Coutable
|
8a31b07437
|
Add a new RSpec::EnvAssignment cop to prevent assigning to ENV in specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
2017-10-18 18:42:09 +02:00 |
|