diff --git a/spec/components/instructeurs/column_picker_component_spec.rb b/spec/components/instructeurs/column_picker_component_spec.rb index 55e5983b1..7b340a96e 100644 --- a/spec/components/instructeurs/column_picker_component_spec.rb +++ b/spec/components/instructeurs/column_picker_component_spec.rb @@ -13,7 +13,7 @@ describe Instructeurs::ColumnPickerComponent, type: :component do subject { component.displayable_fields_for_select } before do - allow(Facet).to receive(:facets).and_return([ + allow(procedure).to receive(:facets).and_return([ default_user_email, excluded_displayable_field ])