blob: a2855d0865c15f3b23acebc64bac7b85bb197647 (
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, :running, :aborted ) }
it { should validate_presence_of(:file) }
end
|