diff --git a/spec/models/dwc_occurrence_spec.rb b/spec/models/dwc_occurrence_spec.rb index e0763de0cc..5682bceeed 100644 --- a/spec/models/dwc_occurrence_spec.rb +++ b/spec/models/dwc_occurrence_spec.rb @@ -16,6 +16,10 @@ expect(DwcOccurrence.target_columns).to include(:occurrenceID) end + specify '.excluded_columns must include id' do + expect(DwcOccurrence.excluded_columns).to include(:id) + end + specify 'extending predicates' do include ActiveJob::TestHelper