Sha256: 678ec0f33c4b4b547c1d4de6a95ee53dac9157b2ad97da499c3d677ec7f0d49e
Contents?: true
Size: 341 Bytes
Versions: 4
Compression:
Stored size: 341 Bytes
Contents
require 'rails_helper' module Mks module Edm RSpec.describe EquipmentComponent, type: :model do it 'has a valid factory' do expect(create(:equipment_component)).to be_valid end it 'is invalid with no name' do expect(build(:equipment_component, name: nil)).not_to be_valid end end end end
Version data entries
4 entries across 4 versions & 1 rubygems