diff options
| author | Xinhui | 2016-12-27 11:52:43 +0100 |
|---|---|---|
| committer | Xinhui | 2016-12-27 12:11:49 +0100 |
| commit | f8c53054f2243dd53c1c34a810657be60a59c2e6 (patch) | |
| tree | 9696fe6cbd6f4f2bc7fb2b80e463be15466e022f /spec/models/import_spec.rb | |
| parent | 9cf671b341fce2416e7f1bc6d620a8fb86e5a211 (diff) | |
| download | chouette-core-f8c53054f2243dd53c1c34a810657be60a59c2e6.tar.bz2 | |
Model import
Refs #2261
Diffstat (limited to 'spec/models/import_spec.rb')
| -rw-r--r-- | spec/models/import_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/models/import_spec.rb b/spec/models/import_spec.rb new file mode 100644 index 000000000..10a508c71 --- /dev/null +++ b/spec/models/import_spec.rb @@ -0,0 +1,7 @@ +require 'rails_helper' + +RSpec.describe Import, :type => :model do + it { should belong_to(:referential) } + it { should belong_to(:workbench) } + it { should validate_presence_of(:file) } +end |
