Commit graph

4 commits

Author SHA1 Message Date
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