diff options
| author | Luc Donnet | 2017-08-31 15:37:45 +0200 |
|---|---|---|
| committer | Luc Donnet | 2017-08-31 15:37:45 +0200 |
| commit | 569a075ffa3e25ec794ede2ba0ec63de10e67498 (patch) | |
| tree | 3b7add6ba4d1a448fa843b4e2b8f59b2b555c027 /spec | |
| parent | 61fb31f1f6664d2dc47d0b79d5b524d59c7d14bc (diff) | |
| download | chouette-core-569a075ffa3e25ec794ede2ba0ec63de10e67498.tar.bz2 | |
Fix import spec to use new status values Refs #1726
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/import_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/import_spec.rb b/spec/models/import_spec.rb index 941e5b386..03a2db921 100644 --- a/spec/models/import_spec.rb +++ b/spec/models/import_spec.rb @@ -4,7 +4,7 @@ RSpec.describe Import, type: :model do it { should belong_to(:workbench) } it { should belong_to(:parent) } - it { should enumerize(:status).in("aborted", "canceled", "failed", "new", "pending", "running", "successful") } + it { should enumerize(:status).in("aborted", "canceled", "failed", "new", "pending", "running", "successful", "warning") } it { should validate_presence_of(:file) } it { should validate_presence_of(:workbench) } |
