fix: ignore virtual data in column initialization
This commit is contained in:
parent
ab3139c2ed
commit
4289aa2cf5
4 changed files with 11 additions and 4 deletions
|
@ -15,6 +15,9 @@ describe Instructeurs::ColumnPickerComponent, type: :component do
|
|||
subject { component.displayable_columns_for_select }
|
||||
|
||||
before do
|
||||
procedure_presentation.displayed_fields.first['virtual'] = true
|
||||
procedure_presentation.save
|
||||
|
||||
allow(procedure).to receive(:columns).and_return([
|
||||
default_user_email,
|
||||
excluded_displayable_field
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue