blob: e34f368aeb58fbcaf99473e26dd08cb03d06abf8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
require 'rails_helper'
RSpec.describe Import, :type => :model do
it { should belong_to(:referential) }
it { should belong_to(:workbench) }
it { should enumerize(:status).in(:new, :pending, :successful, :failed, :canceled) }
it { should validate_presence_of(:file) }
end
|