Files
openfoodnetwork/spec
Pau Perez 25567d6bd6 Do not clean DB twice on feature specs
It turns out that we were executing `DatabaseCleaner.clean` on two
`after(:each)` blocks. One for all specs and another one for `js: true`
specs. As a result feature specs were hitting both which slows them down
considerably.

On my machine this changes consistently saves 2sec on
`spec/features/consumer/shops_spec.rb` but chances are it has an
accumulative effect when run on the whole test suite.
2018-12-05 09:58:14 +01:00
..
2018-11-28 16:21:40 +01:00
2018-11-09 13:33:11 +11:00
2018-08-22 21:35:56 +01:00
2018-11-28 16:21:40 +01:00
2018-10-26 21:38:57 +01:00