refactoring :user role factory usage in specs #27

Open
opened 2022-11-02 09:47:39 +01:00 by philipp · 0 comments
Owner

ad03cafa3b (r1010170661)

e.g. replace
let(:user) { create :user, groups: [create(:suppliers)] }
with
let(:user) { create :user, :role_suppliers] }

https://github.com/foodcoops/foodsoft/pull/966/files/ad03cafa3bd0b860bd7aec910028860b9f283a48#r1010170661 e.g. replace `let(:user) { create :user, groups: [create(:suppliers)] }` with `let(:user) { create :user, :role_suppliers] }`
philipp added the
nice to have
label 2022-11-02 09:47:39 +01:00
philipp added
refactoring
and removed
nice to have
labels 2022-11-02 10:01:49 +01:00
philipp added this to the Kanban project 2023-01-17 12:04:16 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Foodsoft/foodsoft#27
No description provided.