diff options
Diffstat (limited to 'spec/models/bulk_import_spec.rb')
-rw-r--r-- | spec/models/bulk_import_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/bulk_import_spec.rb b/spec/models/bulk_import_spec.rb index 1a7e1ed8119..4cfec6b20b7 100644 --- a/spec/models/bulk_import_spec.rb +++ b/spec/models/bulk_import_spec.rb @@ -15,4 +15,10 @@ RSpec.describe BulkImport, type: :model do it { is_expected.to define_enum_for(:source_type).with_values(%i[gitlab]) } end + + describe '.all_human_statuses' do + it 'returns all human readable entity statuses' do + expect(described_class.all_human_statuses).to contain_exactly('created', 'started', 'finished', 'failed') + end + end end |