Javi Martín
4f232c3a25
Use the file_fixture helper in tests
...
This way we don't have to write `"spec/fixtures/files"` every time.
Note this method isn't included in factories. We could include it like
so:
```
FactoryBot::SyntaxRunner.class_eval do
include ActiveSupport::Testing::FileFixtures
self.file_fixture_path = RSpec.configuration.file_fixture_path
end
```
However, I'm not sure about the possible side effects, and since we only
use attachments in a few factories, there isn't much gain in applying
the monkey-patch.
2022-02-23 18:43:48 +01:00
..
2021-10-25 18:34:19 +02:00
2021-12-22 12:32:47 +01:00
2021-12-22 12:32:47 +01:00
2021-09-23 13:25:22 +02:00
2022-02-23 18:43:48 +01:00
2022-02-23 18:43:48 +01:00
2022-02-23 18:43:48 +01:00
2021-12-22 12:32:47 +01:00
2022-02-23 18:43:48 +01:00
2022-02-23 18:43:48 +01:00
2021-12-30 15:50:03 +01:00
2021-12-22 12:32:47 +01:00
2021-12-22 12:32:47 +01:00
2020-04-24 15:43:54 +02:00
2021-12-22 12:32:47 +01:00
2021-12-22 12:32:47 +01:00
2021-12-22 12:32:47 +01:00
2021-10-25 18:01:47 +02:00
2022-02-23 18:43:48 +01:00
2021-10-25 18:34:17 +02:00
2020-12-02 15:33:19 +01:00
2020-12-02 15:33:19 +01:00
2021-09-23 13:25:22 +02:00
2021-12-22 12:32:47 +01:00
2021-09-20 20:27:37 +02:00
2021-12-30 15:50:03 +01:00
2021-12-22 12:32:47 +01:00
2021-12-22 12:32:47 +01:00
2021-12-30 15:50:03 +01:00
2021-12-22 12:32:47 +01:00
2021-09-08 11:41:19 +02:00
2021-12-22 12:32:47 +01:00
2021-12-22 12:32:47 +01:00
2021-12-22 12:32:47 +01:00
2021-06-30 14:33:37 +02:00
2021-09-20 20:27:37 +02:00
2021-12-22 12:32:47 +01:00
2021-09-03 11:49:53 +02:00
2021-09-23 13:25:22 +02:00
2021-04-16 14:33:26 +02:00
2021-04-16 14:35:03 +02:00
2022-01-21 20:21:52 +01:00
2021-12-22 12:32:47 +01:00
2021-11-05 16:40:36 +01:00
2021-08-09 21:37:04 +02:00
2021-12-22 12:32:47 +01:00
2021-12-22 12:32:47 +01:00
2021-04-02 20:56:09 +02:00