Skip to content

Commit

Permalink
factories for table_row_selector
Browse files Browse the repository at this point in the history
  • Loading branch information
maatinito committed Oct 22, 2024
1 parent 6bfc634 commit d2529e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/factories/champ.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@
type_de_champ { association :type_de_champ_visa, procedure: dossier.procedure }
end

factory :champ_table_row_selector, class: 'Champs::TableRowSelectorChamp' do
type_de_champ { association :type_de_champ_table_row_selector, procedure: dossier.procedure }
end

factory :champ_cnaf, class: 'Champs::CnafChamp' do
type_de_champ { association :type_de_champ_cnaf, procedure: dossier.procedure }
end
Expand Down
3 changes: 3 additions & 0 deletions spec/factories/type_de_champ.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@
factory :type_de_champ_visa do
type_champ { TypeDeChamp.type_champs.fetch(:visa) }
end
factory :type_de_champ_table_row_selector do
type_champ { TypeDeChamp.type_champs.fetch(:table_row_selector) }
end
factory :type_de_champ_epci do
type_champ { TypeDeChamp.type_champs.fetch(:epci) }
end
Expand Down

0 comments on commit d2529e4

Please sign in to comment.