add controller tests

This commit is contained in:
Philipp Rothmann 2023-01-05 13:44:20 +01:00
parent 1c2ca42dda
commit 21aa24c010
16 changed files with 1140 additions and 4 deletions

View file

@ -0,0 +1,8 @@
require 'factory_bot'
FactoryBot.define do
factory :order_article do
order { create :order }
article { create :article }
end
end