Sha256: 71bd6e4ad94181fb2f63c423db5b1f2b0154a8eed769f0e78391efd65e87dfe3

Contents?: true

Size: 194 Bytes

Versions: 1

Compression:

Stored size: 194 Bytes

Contents

require 'rails_helper'

RSpec.describe Customer, type: :model do
  describe 'Associations' do
    it { should have_many(:orders).dependent(:destroy) }
  end

  it_behaves_like 'addressable'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppper-0.1.0 spec/models/customer_spec.rb