Sha256: 3bc75a06efa9fd35a58e1c292f2d2af18e315cbf4ca1180e3082431f08f2aeac
Contents?: true
Size: 255 Bytes
Versions: 3
Compression:
Stored size: 255 Bytes
Contents
module ShoppyCartus RSpec.describe OrderItem, type: :model do context 'check relations' do %i[order product].each do |field| it "belongs to #{field}" do is_expected.to belong_to(field) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems